2021年7月8日

0proxy/reflect

摘要: aa 阅读全文

posted @ 2021-07-08 15:09 章画 阅读(19) 评论(0) 推荐(0) 编辑

toRefs/toRef/unref/customRef

摘要: toRefs(reactiveObj) 解构reactive对象,返回对象中的属性都转为refs.保持数据响应式解构不丢失。 const info4=reactive({name:'zs',age:10}) // let {name,age}=info4 //直接解构失去了响应性 这是错误的写法 需 阅读全文

posted @ 2021-07-08 15:03 章画 阅读(307) 评论(0) 推荐(0) 编辑

导航