File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const store = new Vuex.Store({ ...options })
30
30
31
31
- type: ` Object `
32
32
33
- 一个会被合并到 store 中可以包含子模块的对象 ,形如:
33
+ 一个会被合并到 store 中包含子模块的对象 ,形如:
34
34
35
35
``` js
36
36
{
@@ -42,7 +42,7 @@ const store = new Vuex.Store({ ...options })
42
42
}
43
43
```
44
44
45
- 每个模块都可以包含与根选项类似的 ` state` 和 ` mutations` 。模块的状态会被以模块的 key 附加到 Vuex 实例的根状态中。模块的 mutations 只接受此模块的状态作为第一个参数而不会接受整个根状态 。
45
+ 每个模块都可以包含与根选项类似的 ` state` 和 ` mutations` 。模块的状态会被以模块的 key 附加到 Vuex 实例的根状态中。模块的 mutations 只接受此模块的状态作为第一个参数而不是整个根状态 。
46
46
47
47
- ** middlewares**
48
48
@@ -58,7 +58,7 @@ const store = new Vuex.Store({ ...options })
58
58
}
59
59
` ` `
60
60
61
- 所有字段都是可选的. [详细](middlewares .md )
61
+ 所有字段都是可选的。 [详细](middlewares .md )
62
62
63
63
- ** strict**
64
64
@@ -91,4 +91,4 @@ const store = new Vuex.Store({ ...options })
91
91
92
92
- **hotUpdate (newOptions : Object )**
93
93
94
- 热更新 actions 和 mutations. [详细](hot-reload.md)
94
+ 热更新 actions 和 mutations。 [详细](hot-reload.md)
You can’t perform that action at this time.
0 commit comments