We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7141fb0 + 434402c commit dae2130Copy full SHA for dae2130
docs/zh-cn/structure.md
@@ -6,7 +6,7 @@ Vuex 并不限制你的代码结构。但是,它规定了一些需要遵守的
6
7
2. 提交 **mutation** 是更改状态的唯一方法,并且这个过程是同步的。
8
9
-3. 异步逻辑都应该封装到 **action**里面。
+3. 异步逻辑都应该封装到 **action** 里面。
10
11
只要你遵守以上规则,如何组织代码随你便。如果你的 store 文件太大,只需将 action、mutation、和 getters 分割到单独的文件。
12
0 commit comments