Skip to content

树形控件Tree改变treeData和expandedKeys等属性时,部分情况下会卡死并抛出异常 #7250

@izumookuni

Description

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

Version

4.0.8

Environment

browser version: Microsoft Edge 120.0.2210.91, Vue version: 3.3.11

Reproduction link

Edit on CodeSandbox

Steps to reproduce

有多种复现方式,以下列出其中2种:

  1. 点击Tree1 -> 展开1 -> 点击Tree2
  2. 点击Tree2 -> 展开A -> 点击Tree1 -> 展开0 -> 展开0(下一层) -> 点击Tree2

此时控件卡死,同时浏览器控制台抛出异常。

What is expected?

树形控件能够正常切换、展开。

What is actually happening?

控件卡死,同时浏览器控制台抛出异常。

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