Skip to content

[bug]: CountDown组件销毁后没有默认清除定时任务 #3392

@iDestin

Description

@iDestin

NutUI React 包名

@nutui/nutui-react

NutUI React 版本号

3.0.18

平台

jd

重现链接

https://nutui.jd.com/taro/react/3x/#/zh-CN/component/CountDown

重现步骤

使用 CountDown 组件,在倒计时还未结束时,销毁组件但是 onEnd 事件还是触发了

期望的结果是什么?

销毁组件后默认清除定时任务

实际的结果是什么?

销毁组件后定时任务没有清除

环境信息

No response

其他补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions