浏览代码

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