今天介紹 watchEffect 與Lifecycle hooks. watchEffect. const count = ref(0) watchEffect(() => console.log(count.value)) // log 出0 setTimeout(() ...
確定! 回上一頁