摘要: watch let sum = ref('0'); let person = reactive({ sex:‘女’, age:18, }) watch(sum,(oldVal,newVal) =>{ console.log(oldVal,newVal); }) /** 监视reactive 所定义的 阅读全文
posted @ 2022-08-25 17:55 elliot1004 阅读(12) 评论(0) 推荐(0) 编辑