-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
使用vue在安卓上面定时器有问题 #7566
Comments
taro-bot2
bot
added
F-vue2
Framework - Vue 2
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Sep 9, 2020
this.num ++ |
感觉不是 Taro 的问题,试试 H5 |
this.num ++,源码应该是触发了setData。可能是setData数据量过大,或者过于频繁,导致的渲染卡顿。建议写个精简的demo再试试。 |
界面上面没啥 就一个数字和 vant的手风琴 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 2.12.2
使用框架: Vue 2
复现步骤
setInterval(() => {
this.num ;
}, 2000);
期望结果
准时执行
实际结果
忽快忽慢
环境信息
补充信息
就是一个2s加一的定时器,在开发者工具和ios没问题,安卓上面忽快忽慢 但是用react就没问题
The text was updated successfully, but these errors were encountered: