Skip to content

After setting fieldNames in directory-tree, when defaultExpandAll is set to true, all tree nodes cannot be expanded #6007

@SilenceAdam

Description

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

Version

3.2.12

Environment

系统版本:macOS Big Sur 11.4 浏览器版本:Chrome 105.0.5195.125 Vue 版本:3.2.36

Reproduction link

Edit on CodeSandbox

Steps to reproduce

在directory-tree组件中,设置 fieldNames 后,再设置defaultExpandAll为 true

What is expected?

所有树节点能够展开

What is actually happening?

只展开了部分树节点

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