wangjingchao 8 년 전
부모
커밋
2a67103a1f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {