-
Notifications
You must be signed in to change notification settings - Fork 24
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
小程序偶发显示不全 #50
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
作者你好,首先非常感谢你开发的这么好的插件。
我在开发中遇到了偶发的圆环没有显示到canvas里的问题。请问如何解决?
找到了解决方法!!!!
原因是 初始化percentage为0,调用请求接口然后this.setData({percentage:xx})改变了percentage的值,就会偶发出现如上这种渲染不全的问题。解决方法是在请求接口后改变percentage值的时候加了个500ms的setTimout 就不会出现这样的渲染不全的问题了。希望对大家有帮助
The text was updated successfully, but these errors were encountered: