Skip to content

Commit 0066944

Browse files
authored
Merge pull request #479 from FrancisKong/dev
运行 -> 允许
2 parents 476178d + 90043d4 commit 0066944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh-cn/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
使用单一状态树,导致应用的所有状态集中到一个很大的对象。但是,当应用变得很大时,store 对象会变得臃肿不堪。
44

5-
为了解决以上问题,Vuex 运行我们将 store 分割到**模块(module)**。每个模块拥有自己的 state、mutation、action、getters、甚至是嵌套子模块——从上至下进行类似的分割:
5+
为了解决以上问题,Vuex 允许我们将 store 分割到**模块(module)**。每个模块拥有自己的 state、mutation、action、getters、甚至是嵌套子模块——从上至下进行类似的分割:
66

77
``` js
88
const moduleA = {

0 commit comments

Comments
 (0)