Skip to content

Commit ebecec7

Browse files
ZeroDark1991yyx990803
authored andcommitted
Update modules.md (vuejs#525)
1 parent 5027b73 commit ebecec7

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
@@ -37,7 +37,7 @@ store.state.b // -> moduleB 的状态
3737
const moduleA = {
3838
state: { count: 0 },
3939
mutations: {
40-
increment: (state) {
40+
increment (state) {
4141
// state 模块的局部状态
4242
state.count++
4343
}

0 commit comments

Comments
 (0)