摘要: import {mapGetters} from 'vuex' computed: { ...mapGetters([ 'showChip' ]) }, watch: { showChip(newVal) { this.chipInState = newVal } } //试了几种方案,只有这个起效 阅读全文
posted @ 2020-02-19 22:53 豆瓣匠 阅读(9711) 评论(2) 推荐(0) 编辑