vuex监听变化
computed: {getUserIcons() {return this.$store.state.ccurrencytext;}},watch: {getUserIcons(val) {console.log('监听变化:');console.log(val);}},
·
computed: { getUserIcons() { return this.$store.state.ccurrencytext; } }, watch: { getUserIcons(val) { console.log('监听变化:'); console.log(val); }
},
更多推荐
已为社区贡献1条内容
所有评论(0)