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
二维码被封装到组件种,组件包含其他内容,A页面到B页面,B页面引用组件加载二维码,显示正常,然后返回A页面,再重新进入B页面,则有时候会不显示二维码
The text was updated successfully, but these errors were encountered:
你是在onLoad就开始调用绘制二维码的方法了吗?如果是的话,试试放在onReady里。
onLoad
onReady
Sorry, something went wrong.
放在onReady中后情况好了些,不像之前间隔性的不显示很频繁,现在也是连续返回进入多次后才会出现不显示的情况
加入了setTimeout更好了一写。只有小几率有问题。
No branches or pull requests
二维码被封装到组件种,组件包含其他内容,A页面到B页面,B页面引用组件加载二维码,显示正常,然后返回A页面,再重新进入B页面,则有时候会不显示二维码
The text was updated successfully, but these errors were encountered: