https://github.com/vuejs/vuex/issues/1452
...mapGetters({
// 把 `this.doneCount` 映射为 `this.$store.getters.doneTodosCount`
doneCount: 'doneTodosCount'
})
export default {
computed: mapGetters({
doneCount: 'doneTodosCount'
})
}
https://github.com/vuejs/vuex/issues/1452
...mapGetters({
// 把 `this.doneCount` 映射为 `this.$store.getters.doneTodosCount`
doneCount: 'doneTodosCount'
})
export default {
computed: mapGetters({
doneCount: 'doneTodosCount'
})
}
让时间为你证明