勾三股四 7 роки тому
батько
коміт
5bb3dad2b8
1 змінених файлів з 6 додано та 6 видалено
  1. 6 6
      docs/en/api.md

+ 6 - 6
docs/en/api.md

@@ -34,12 +34,12 @@ const store = new Vuex.Store({ ...options })
 
     ``` 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, or local getters if in modules
-      rootGetters // same as store.getters, only in modules
+      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
     }
     ```