vue3 ref和reactive使用watch属性的方法和区别

文章浏览阅读70次。在Vue 3中,您可以使用watch函数和watch选项来监视ref和reactive创建的响应式数据的变化。