klren0312 / daliy_knowledge

知识积累,正确使用方式是watch
21 stars 4 forks source link

小程序自定义组件使用wx.createSelectorQuery()无法查询到节点 #823

Open klren0312 opened 7 months ago

klren0312 commented 7 months ago

解决方法

使用this.createSelectorQuery()

参考资料

https://developers.weixin.qq.com/community/develop/doc/000aa0f17a8af0e02d7c0ca5e56800