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
我现在碰到的问题,当页面切换的时候,原来的定时器就会暂停。
The text was updated successfully, but these errors were encountered:
这个跟浏览器的策略有关系,在资源不足的情况下就是会停掉不活跃的定时器,不好解决,如果是强诉求,可以尝试开一个 webworker ,worker 去执行定时器,然后把回调通过 postMessage 的方式发给主页面。
Sorry, something went wrong.
No branches or pull requests
我现在碰到的问题,当页面切换的时候,原来的定时器就会暂停。
The text was updated successfully, but these errors were encountered: