jd-opensource / jd-opensource/nutui
countdown 倒计时报警告,时间久了会导致直接卡顿
- Dominant language
- Vue
- Stars
- 6.5k
- Forks
- 835
- PR merge metrics
- No merged PRs in 30d
Description
### NutUI scenes(nutui 场景)
微信小程序(@nutui/nutui)
### 在小程序开发工具中可复现


### 微信社区的说法是要清除setTimeout的定时器 [https://developers.weixin.qq.com/community/develop/doc/000c22834b8dc049777da76f75b000?_at=1677652354600](https://developers.weixin.qq.com/community/develop/doc/000c22834b8dc049777da76f75b000?_at=1677652354600)
### NutUI-vue version(nutui-vue 版本)
3.3.2
### Vue version(vue 版本)
3.2.47
### Operating environment(运行环境)
dev:h5
### Citation method(引用方式)
npm
### Node version(node 版本)
16.18.0
### Browser and its version(浏览器及其版本)
Chrome(106.0.5249.119)
### System and its version(系统及其版本)
window10
### Reproduction link(重现链接)
[codesandbox.io/s/tef7sf](https://codesandbox.io/s/tef7sf?file=/src/App.vue)
### Steps to reproduce(重现步骤)
在小程序中会一直出现报警告,还导致手机卡顿
### What is expected?(期望的结果是什么?)
修复bug
### What is actually happening?(实际的结果是什么?)
未修复
Contributor guide
Assessment
This issue has not been assessed yet.