Browse Source

dispatch => commit

jingsam 8 năm trước cách đây
mục cha
commit
ebaadbc269
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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