Pārlūkot izejas kodu

dispatch => commit

jingsam 8 gadi atpakaļ
vecāks
revīzija
ebaadbc269
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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