ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

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

Open izumookuni opened this issue 1 year ago • 0 comments
trafficstars

  • [x] 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?

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

izumookuni avatar Jan 05 '24 09:01 izumookuni