Skip to content

Commit b50f81c

Browse files
ulivzJinjiang
authored andcommitted
chore($docs): tweaks (#1095)
1 parent e2ac1ac commit b50f81c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/zh-cn/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const store = new Vuex.Store({ ...options })
1616

1717
Vuex store 实例的根 state 对象。[详细介绍](state.md)
1818

19-
如果你传入返回一个对象的函数,其返回的对象会被用做根 state。这在你想要重用 state 对象,尤其是重用 module 来说非常有用。[详细介绍](modules.md#模块重用)
19+
   如果你传入返回一个对象的函数,其返回的对象会被用作根 state。这在你想要重用 state 对象,尤其是对于重用 module 来说非常有用。[详细介绍](modules.md#模块重用)
2020

2121
- **mutations**
2222

@@ -58,7 +58,7 @@ const store = new Vuex.Store({ ...options })
5858
getters, // 等同于 store.getters
5959
```
6060

61-
当定义在一个模块里时会特别一些
61+
当定义在一个模块里时会特别一些
6262

6363
```
6464
state, // 如果在模块中定义则为模块的局部状态

0 commit comments

Comments
 (0)