摘要: 包含了父作用域中不作为 prop 被识别 (且获取) 的特性绑定 (class 和 style 除外)? 这个意思就是父组件往子组件传没有在子组件的props里声明过的值时,子组件可以通过$attrs接受,且只包含父组件没有在props里声明的值。 父组件 1 <template> 2 <div c 阅读全文
posted @ 2021-12-13 23:35 疯狗强尼 阅读(425) 评论(0) 推荐(0) 编辑