会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
唐同学
博客园
首页
新随笔
联系
订阅
管理
2021年11月5日
Vue3 具名插槽+作用域插槽同时使用的方法
摘要: 子插槽 <slot :itemA="传递的信息A" :indexB="传递的信息B" name="slotName"></slot> 父插槽 <template v-slot:showName="slotProps" > <button>{{slotProps.itemA}}</button> <h
阅读全文
posted @ 2021-11-05 10:33 唐同学
阅读(846)
评论(0)
推荐(0)
编辑
公告