Browse Source

Update modules.md (#525)

ZeroDark1991 8 years ago
parent
commit
ebecec71ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/zh-cn/modules.md

+ 1 - 1
docs/zh-cn/modules.md

@@ -37,7 +37,7 @@ store.state.b // -> moduleB 的状态
 const moduleA = {
   state: { count: 0 },
   mutations: {
-    increment: (state) {
+    increment (state) {
       // state 模块的局部状态
       state.count++
     }