Parcourir la source

dispatch => commit

jingsam il y a 8 ans
Parent
commit
ebaadbc269
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      docs/en/mutations.md

+ 1 - 1
docs/en/mutations.md

@@ -86,7 +86,7 @@ store.commit('increment', {
   amount: 1
 }, { silent: true })
 
-// with object-style dispatch
+// with object-style commit
 store.commit({
   type: 'increment',
   amount: 1