摘要: ### 父子组件中的attrs props 理解/继承 首先,父组件可以给子组件传入属性、监听函数(类似onClick),class,style,id,总结起来就是大三类-**属性,监听函数,样式**! 爷爷组件 -- 有两个监听函数 ```jsx import { computed, define 阅读全文
posted @ 2023-08-22 13:49 茶记忆 阅读(124) 评论(0) 推荐(0) 编辑