会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
首页
新随笔
联系
管理
2022年9月15日
Vue中子组件调用父组件的三种方法(转)
摘要: 原文:https://www.cnblogs.com/jin-zhe/p/9523782.html 1、this.$parent.event 第一种方法是直接在子组件中通过this.$parent.event来调用父组件的方法 父组件 <template> <div> <child></child>
阅读全文
posted @ 2022-09-15 10:00 pine007
阅读(879)
评论(0)
推荐(0)
编辑