-
Notifications
You must be signed in to change notification settings - Fork 979
New issue
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
个别安卓手机无法生成二维码的解决方案,回调再次调用,重复渲染即可 #69
Comments
这个怎么没有办法更新呀 |
会有你说的问题,当时我急于解决问题,所以采用这种办法,并未深入研究,如果担心无限走回调的风险,那么快速解决方案就是在回调里面做次数判断,当次二维码生成如果走几次回调还未生成即终止执行。
…------------------ 原始邮件 ------------------
发件人: "yingye/weapp-qrcode" <[email protected]>;
发送时间: 2021年3月4日(星期四) 下午4:17
收件人: "yingye/weapp-qrcode"<[email protected]>;
抄送: "李森森"<[email protected]>;"Author"<[email protected]>;
主题: Re: [yingye/weapp-qrcode] 个别安卓手机无法生成二维码的解决方案,回调再次调用,重复渲染即可 (#69)
回调再次调用不就无线循环自调用了?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在callback回调里再次调用方法,等于重新调用两次生成二维码,即可实现显示二维码的效果,经过测试应该是二维码组件还未渲染完成
The text was updated successfully, but these errors were encountered: