Explorar o código

docs(zh): update getter.md (#1710)

lim %!s(int64=5) %!d(string=hai) anos
pai
achega
1d90054e0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/zh/guide/getters.md

+ 1 - 1
docs/zh/guide/getters.md

@@ -111,7 +111,7 @@ export default {
 如果你想将一个 getter 属性另取一个名字,使用对象形式:
 
 ``` js
-mapGetters({
+...mapGetters({
   // 把 `this.doneCount` 映射为 `this.$store.getters.doneTodosCount`
   doneCount: 'doneTodosCount'
 })