-
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
小程序加载会出现显示不 #38
Comments
|
不好意思,没看懂什么操作 @jerryzn |
我这边也遇到了同样的问题,初始化percentage为0,同时我在onLoad生命周期请求接口然后this.setData({percentage:xx}),然后就会偶现如上这种渲染不全的问题。我的猜测是接口请求很快首次渲染还没完成percentage又改变了。然后我修改的方法是 在首次请求接口改变percentage加了个500ms的setTimout 就不会出现这样的渲染不全的问题了。 |
大概知道什么问题了,我看看 @answer33 |
我也遇到这个问题,用了您的方法解决了! 非常感谢! |
我也碰到了同样的问题,我的场景是用进度条体现倒计时,页面加载完后用setInterval循环改变百分比的话,进度条会跑到左上方 |
The text was updated successfully, but these errors were encountered: