Skip to content

The delete button does not execute the deselect function after allow-clear in tree-select #6072

@paoyideyun

Description

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

Version

3.2.13

Environment

vue3.2.31 ,chrome 99,

Reproduction link

Edit on CodeSandbox

Steps to reproduce

添加删除函数后点击单个标签会执行删除函数,但是直接点清空图标不执行删除函数

What is expected?

直接点清空图标执行删除函数

What is actually happening?

直接点清空图标没有执行删除函数


之前我提过一个select的清空按钮的bug,select里面点清空按钮,会执行选中的数量那么多次清空函数,而tree-select直接是不执行了

GIF

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