作品分享
问答交流
发现
任务
客服工单
可在父组件里调用 this.selectComponent(类名/id) ,获取子组件的实例对象。(父组件将会获取 class 为 my-component 的子组件实例对象,即子组件的 this) ⚠️:默认情况下,小步伐与插件之间、差别插件之间的组件将无法通过 selectComponent 得到组件实例(将返回 null)
举报
本版积分规则 回帖后跳转到最后一页
Powered by CangBaoKu v1.0 小黑屋藏宝库It社区( 冀ICP备14008649号 )
GMT+8, 2025-8-9 01:47, Processed in 0.091361 second(s), 35 queries.© 2003-2025 cbk Team.