会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
猎奇游渔
保留饥饿,保持热爱
博客园
首页
新随笔
联系
订阅
管理
2021年4月13日
10-this.$emit和this.$on 什么玩意?
摘要: 爸爸组件:在一个组件中用this.$emit和this.$on 爸爸组件中引入了儿子组件和孙子组件,并且儿子组件套着孙子组件(因为儿子组件中用了slot) 1 <template> 2 <div class="father"> 3 <div>我是爸爸组件</div> 4 <el-button siz
阅读全文
posted @ 2021-04-13 02:11 猎奇游渔
阅读(1996)
评论(0)
推荐(0)
编辑