소스 검색

Mutation Names = Mutation Types (#405)

jingsam 8 년 전
부모
커밋
1574925cd4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/en/mutations.md

+ 1 - 1
docs/en/mutations.md

@@ -109,7 +109,7 @@ Since a Vuex store's state is made reactive by Vue, when we mutate the state, Vu
     state.obj = { ...state.obj, newProp: 123 }
     ```
 
-### Using Constants for Mutation Names
+### Using Constants for Mutation Types
 
 It is a commonly seen pattern to use constants for mutation types in various Flux implementations. This allow the code to take advantage of tooling like linters, and putting all constants in a single file allows your collaborators to get an at-a-glance view of what mutations are possible in the entire application: