摘要: 一,默认插槽和具名插槽 // 子组件 <template> // 匿名插槽 <slot/> // 具名插槽 <slot name='title'/> </template> // 父组件 <!-- 具名插槽 --> <template #default> <div class="tab-header 阅读全文
posted @ 2022-05-12 16:28 惠鹏曦 阅读(1707) 评论(0) 推荐(1) 编辑