computed: {
f1() {
return this.$store.state.chat.messageList
}
},
watch: {
f1(curVal, oldVal
vue 监听vuex的数值变化 vuex的异步操作action注意事项
最新推荐文章于 2024-04-08 19:29:31 发布
computed: {
f1() {
return this.$store.state.chat.messageList
}
},
watch: {
f1(curVal, oldVal