Skip to content

Commit c348c68

Browse files
author
Yan.Huang
committed
correct words
1 parent 4a332b8 commit c348c68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/zh-cn/api.md

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

3131
- type: `Object`
3232

33-
一个会被合并到 store 中可以包含子模块的对象,形如:
33+
一个会被合并到 store 中包含子模块的对象,形如:
3434

3535
``` js
3636
{
@@ -42,7 +42,7 @@ const store = new Vuex.Store({ ...options })
4242
}
4343
```
4444

45-
每个模块都可以包含与根选项类似的 `state``mutations`。模块的状态会被以模块的 key 附加到 Vuex 实例的根状态中。模块的 mutations 只接受此模块的状态作为第一个参数而不会接受整个根状态
45+
每个模块都可以包含与根选项类似的 `state``mutations`。模块的状态会被以模块的 key 附加到 Vuex 实例的根状态中。模块的 mutations 只接受此模块的状态作为第一个参数而不是整个根状态
4646

4747
- **middlewares**
4848

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

61-
所有字段都是可选的. [详细](middlewares.md)
61+
所有字段都是可选的[详细](middlewares.md)
6262

6363
- **strict**
6464

@@ -91,4 +91,4 @@ const store = new Vuex.Store({ ...options })
9191

9292
- **hotUpdate(newOptions: Object)**
9393

94-
热更新 actions 和 mutations. [详细](hot-reload.md)
94+
热更新 actions 和 mutations[详细](hot-reload.md)

0 commit comments

Comments
 (0)