Browse Source

chore($docs): tweaks (#1095)

ULIVZ 7 years ago
parent
commit
b50f81cd06
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/zh-cn/api.md

+ 2 - 2
docs/zh-cn/api.md

@@ -16,7 +16,7 @@ const store = new Vuex.Store({ ...options })
 
     Vuex store 实例的根 state 对象。[详细介绍](state.md)
 
-    如果你传入返回一个对象的函数,其返回的对象会被用做根 state。这在你想要重用 state 对象,尤其是重用 module 来说非常有用。[详细介绍](modules.md#模块重用)
+    如果你传入返回一个对象的函数,其返回的对象会被用作根 state。这在你想要重用 state 对象,尤其是对于重用 module 来说非常有用。[详细介绍](modules.md#模块重用)
 
 - **mutations**
 
@@ -58,7 +58,7 @@ const store = new Vuex.Store({ ...options })
     getters,   // 等同于 store.getters
     ```
 
-    当定义在一个模块里时会特别一些
+    当定义在一个模块里时会特别一些
 
     ```
     state,       // 如果在模块中定义则为模块的局部状态