Skip to content

countdown 倒计时报警告,时间久了会导致直接卡顿 #2146

Open
@akFace

Description

@akFace

NutUI scenes(nutui 场景)

微信小程序(@nutui/nutui)

在小程序开发工具中可复现

image
image

微信社区的说法是要清除setTimeout的定时器 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

Steps to reproduce(重现步骤)

在小程序中会一直出现报警告,还导致手机卡顿

What is expected?(期望的结果是什么?)

修复bug

What is actually happening?(实际的结果是什么?)

未修复

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvement一些可以优化的地方

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions