Browse Source

fix wrong charactor in chinese doc

yandongxu 9 years ago
parent
commit
cfb657835d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/zh-cn/mutations.md

+ 1 - 1
docs/zh-cn/mutations.md

@@ -39,7 +39,7 @@ mutations: {
 }
 }
 ```
 ```
 ``` js
 ``` js
-vuex.dispatch('INCREMENT', 10)
+store.dispatch('INCREMENT', 10)
 ```
 ```
 
 
 这里的 `10` 会紧跟着 `state` 作为第二个参数被传递到 mutation handler. 所有额外的参数被称为该 mutation 的 payload.
 这里的 `10` 会紧跟着 `state` 作为第二个参数被传递到 mutation handler. 所有额外的参数被称为该 mutation 的 payload.