Skip to content

The notification component clicks the close icon and calls the onClose function repeatedly #6144

@Dai-ww

Description

@Dai-ww
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.14

Environment

node 16.15.1 macOS Ventura13.0 vue3.2.31

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1、点击notification box
2、点击关闭图标观察控制台 等待几秒后再次观察控制台

What is expected?

点击关闭图标调用close函数 不点击则定时器触发close函数

What is actually happening?

重复调用close函数

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions