const childComponent = this.selectComponent('#cropper');
childComponent.childMethod()
const childComponent = this.selectComponent('#cropper');
childComponent.childMethod()
本文标题:微信小程序-父组件如何调用子组件的方法
本文链接:https://www.haomeiwen.com/subject/ytdrddtx.html
网友评论