Explorar o código

dispatch => commit

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