We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
小程序this.createSelectorQuery()有时候会拿不到DOM
this.createSelectorQuery()
有人推荐写在nextTick里,但还是会存在拿不到,有更好的写法吗🐶
nextTick
wx.nextTick(() => { ... this.createSelectorQuery() .exec(res => { const canvas = res[0].node; }) ... }
The text was updated successfully, but these errors were encountered:
生命周期放的对嘛 ,之前还没遇到过这种情况🐶
Sorry, something went wrong.
微信相关问题
No branches or pull requests
小程序
this.createSelectorQuery()
有时候会拿不到DOM有人推荐写在
nextTick
里,但还是会存在拿不到,有更好的写法吗🐶The text was updated successfully, but these errors were encountered: