wangjingchao 8 năm trước cách đây
mục cha
commit
2a67103a1f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/en/modules.md

+ 1 - 1
docs/en/modules.md

@@ -34,7 +34,7 @@ store.state.b // -> moduleB's state
 Inside a module's mutations and getters, The first argument received will be **the module's local state** instead of root state:
 
 ``` js
-cosnt moduleA = {
+const moduleA = {
   state: { count: 0 },
   mutations: {
     increment: (state, rootState) {