1
0
38elements 7 жил өмнө
parent
commit
5f15133026
1 өөрчлөгдсөн 6 нэмэгдсэн , 5 устгасан
  1. 6 5
      docs/en/api.md

+ 6 - 5
docs/en/api.md

@@ -34,11 +34,12 @@ const store = new Vuex.Store({ ...options })
 
 
     ``` js
     ``` js
     {
     {
-      state,     // same as store.state, or local state if in modules
-      rootState, // same as store.state, only in modules
-      commit,    // same as store.commit
-      dispatch,  // same as store.dispatch
-      getters    // same as store.getters
+      state,      // same as store.state, or local state if in modules
+      rootState,  // same as store.state, only in modules
+      commit,     // same as store.commit
+      dispatch,   // same as store.dispatch
+      getters,    // same as store.getters, or local getters if in modules
+      rootGetters // same as store.getters, only in modules
     }
     }
     ```
     ```