会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
三水儿
博客园
首页
新随笔
联系
管理
订阅
2020年12月15日
兄弟组件传参——子传父,父传子
摘要: 兄弟组件传参的方式: 1.子传父,父传子 2.vuex 3.eventBus 一、通过父亲进行传递 父组件 <template> <div class="box2"> <div class="bro"> <brother :messagebro="message1" @broevent="messa
阅读全文
posted @ 2020-12-15 15:19 三水儿
阅读(647)
评论(0)
推荐(0)
公告