// 在父组件中调用 const childComponent = this.selectComponent('#myChild'); childComponent">
数据驱动、坚持为客户提供有价值的服务和内容
selectComponent
// 在父组件中调用 const childComponent = this.selectComponent('#myChild'); childComponent.myMethod(); 上一篇:微信小程序中父子组件相互调用详解|新闻资讯|技术讨论|温州糯麦科技有限公司 下一篇:原生微信小程序父组件调用子组件中的方法
// 在父组件中调用 const childComponent = this.selectComponent('#myChild'); childComponent.myMethod();