onshow微信小程序微信小程序调用selectComponent报错
2257关注7681浏览
错误样例: this.selectComponent is not a function. (In 'this.selectComponent("#SharePosterImage")', 'this.selectComponent' is undefined);at "pages/detail/detail" page lifeCycleMethod onShow function
代码样例:
你这个页面的json配置了useComponent的吗?