Explorar o código

Update modules.md (#525)

ZeroDark1991 %!s(int64=8) %!d(string=hai) anos
pai
achega
ebecec71ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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++
     }