diff --git a/docs/zh-cn/actions.md b/docs/zh-cn/actions.md index 693b5b2ae..9b376f8a5 100644 --- a/docs/zh-cn/actions.md +++ b/docs/zh-cn/actions.md @@ -27,7 +27,7 @@ const store = new Vuex.Store({ Action 函数接受一个与 store 实例具有相同方法和属性的 context 对象,因此你可以调用 `context.commit` 提交一个 mutation,或者通过 `context.state` 和 `context.getters` 来获取 state 和 getters。当我们在之后介绍到 [Modules](modules.md) 时,你就知道 context 对象为什么不是 store 实例本身了。 -实践中,我们会经常会用到 ES2015 的 [参数解构](https://github.com/lukehoban/es6features#destructuring) 来简化代码(特别是我们需要调用 `commit` 很多次的时候): +实践中,我们会经常用到 ES2015 的 [参数解构](https://github.com/lukehoban/es6features#destructuring) 来简化代码(特别是我们需要调用 `commit` 很多次的时候): ``` js actions: {