Rocky 8 лет назад
Родитель
Сommit
18a3a10f61
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/zh-cn/api.md

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

@@ -140,7 +140,7 @@ const store = new Vuex.Store({ ...options })
 
   ``` js
   store.subscribe((mutation, state) => {
-    console.log(mutation.类型)
+    console.log(mutation.type)
     console.log(mutation.payload)
   })
   ```