随笔分类 -  uniapp

摘要:1.子组件中 <view> <slot :user="user">{{user.lastName}}</slot> </view> 2.在父组件使用 <template v-slot:default="otherSlotProps"> {{ otherSlotProps.user.firstName 阅读全文
posted @ 2023-03-13 11:13 向前、向前 阅读(921) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示