摘要: 1.setup内的ref用法 处理基本类型或对象 let name = ref('张三') 双向绑定时改变name.value return {name} ref内可以传对象 let obj = ref({ type:'a' }) obj.value.type='b' 处理对象时使用Proxy 2. 阅读全文
posted @ 2021-11-01 16:17 恣肆zisi 阅读(89) 评论(0) 推荐(0)
摘要: # Vue3快速上手 <img src="https://user-images.githubusercontent.com/499550/93624428-53932780-f9ae-11ea-8d16-af949e16a09f.png" style="width:200px" /> ## 1.V 阅读全文
posted @ 2021-11-01 14:20 恣肆zisi 阅读(106) 评论(0) 推荐(0)