vue3 watchEffect/watch api大家应该了解,就是监听响应式对象,在改变的时候重新执行指定回调 const state = reactive({ star: 0 }) watch(state, (newVal, ...
確定! 回上一頁