ソースを参照

Merge pull request #10 from zigomir/patch-1

Update count property
Evan You 9 年 前
コミット
df7435a55a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      docs/en/actions.md

+ 1 - 1
docs/en/actions.md

@@ -19,7 +19,7 @@ const vuex = new Vuex({
   },
   mutations: {
     INCREMENT (state, x) {
-      state += x
+      state.count += x
     }
   },
   actions: {