vue 监听store中的数值 computed: { isFollow () { return this.$store.state.demo.id; //需要监听的数据 } }, watch: { isFollow (newVal, oldVal) { //do something } },