Browse Source

fixed import for mapGetters (#333)

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

+ 1 - 1
docs/en/getters.md

@@ -52,7 +52,7 @@ computed: {
 The `mapGetters` helper simply maps store getters to local computed properties:
 
 ``` js
-import { mapState } from 'vuex'
+import { mapGetters } from 'vuex'
 
 export default {
   // ...