Parcourir la source

Merge pull request #10 from zigomir/patch-1

Update count property
Evan You il y a 9 ans
Parent
commit
df7435a55a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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: {