Skip to content

TreeSelect组件在单选模式下,选择已经选中的选项时,还会触发change事件。 #6776

@moligithub

Description

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

Version

3.2.20

Environment

os: Windows 10 \ browser: Google Chrome v114.0.5735.199 \ Vue: v3.3.4

Reproduction link

https://github.com/moligithub/ant-design-vue-issues.git

Steps to reproduce

  1. 选择一个选项
  2. 选择已经选中的选项

What is expected?

选择已经选中的选项时,不再触发change事件

What is actually happening?

选择已经选中的选项时,还会触发change事件

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions