摘要:
尚硅谷视频教程 shallowRef shallowReactive 浅层次的响应式数据(仅第一层) shallowRef :只能整体修改 person.value可以修改,但是person.value.name无法修改 shallowReactive :只能修改对象的第一层数据 car.brand 阅读全文
posted @ 2024-04-10 23:42
ayubene
阅读(12)
评论(0)
推荐(0)
摘要:
尚硅谷视频教程 通信方式1 props parent传child--只能传递非函数 // Parent.vue <template> <div class="parent"> <h3>parent</h3> <h3>car: {{ car }}</h3> <Child :car="car"/> </ 阅读全文
posted @ 2024-04-10 21:56
ayubene
阅读(22)
评论(0)
推荐(0)
摘要:
vscode ctrl+P 粘贴 阅读全文
posted @ 2024-04-10 14:14
ayubene
阅读(11)
评论(0)
推荐(0)

浙公网安备 33010602011771号