vue監聽vuex的store值的變化

直接上代碼面試 computed: { getStoreItem () { return this.$store.state.test } }, watch: { getStoreItem () { console.log(this.$store.state.test,'asfas fas fas')
相關文章
相關標籤/搜索