摘要: 1、子组件暴露插槽的写法 <template> <div class="hello"> <h1>子组件</h1> <h1>↓↓↓以下是默认插槽内容↓↓↓</h1> <slot :scope="sexEn1"></slot> <h1>↑↑↑以上是插槽内容↑↑↑</h1> <br /> <div>{{s 阅读全文
posted @ 2020-11-04 00:36 我吃柠檬 阅读(1652) 评论(0) 推荐(1) 编辑