微信小程序 this.selectComponent 返回值为 null 的问题
this.selectComponent(string) 可以返回所使用组件的实例对象报错原因排查步骤json 文件中引入了该组件{ "usingComponent": { "header": "../../components/hedader" }}父组件 wxml 文件中使用了这个组件并且设置了一个 id 或者是 class 类样式wxml..
原创
2019-01-18 10:23:03 ·
13815 阅读 ·
0 评论