会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
嘿!那个姑娘
博客园
首页
新随笔
联系
订阅
管理
2021年11月29日
调用子组件中的方法,明明定义了还报“Cannot read properties of undefined (reading 'fullValidEvent')”
摘要: 在修改页面,在父组件中直接调用子组件中的方法,通过ref来调用。明明在子组件中定义了这个方法,还一直报undefined if (this.form.receivingType == 0) { await this.$refs.editTable1.fullValidEvent() } else i
阅读全文
posted @ 2021-11-29 16:50 嘿!那个姑娘
阅读(2368)
评论(0)
推荐(0)
编辑
公告