瀏覽代碼

dispatch => commit

jingsam 8 年之前
父節點
當前提交
ebaadbc269
共有 1 個文件被更改,包括 1 次插入1 次删除
  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