Skip to content

Commit 1d90054

Browse files
authored
docs(zh): update getter.md (#1710)
1 parent b49abc0 commit 1d90054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/guide/getters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default {
111111
如果你想将一个 getter 属性另取一个名字,使用对象形式:
112112

113113
``` js
114-
mapGetters({
114+
...mapGetters({
115115
 // 把 `this.doneCount` 映射为 `this.$store.getters.doneTodosCount`
116116
doneCount: 'doneTodosCount'
117117
})

0 commit comments

Comments
 (0)