Browse Source

Api has chagned (#322)

Actions not in Vuex.Store constructor options.
sciooga 8 năm trước cách đây
mục cha
commit
ed0bae9eb4
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      docs/zh-cn/mutations.md

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

@@ -99,7 +99,6 @@ import { SOME_MUTATION } from './mutation-types'
 
 const store = new Vuex.Store({
   state: { ... },
-  actions: { ... },
   mutations: {
     // we can use the ES2015 computed property name feature
     // to use a constant as the function name