摘要: $attrs、$listeners、$props的使用 这三个 ,在创建组件多层嵌套时,特别有用 $attrs包含了父作用域中不作为 prop 被识别 (且获取) 的 attribute 绑定 (class 和 style 除外)。 $props当前组件接收到的 props 对象。 $listene 阅读全文
posted @ 2020-09-17 03:18 玖舞二柒 阅读(231) 评论(0) 推荐(0)