Skip to content

[EnhancedTable] tree中defaultExpandAll设置true 不生效 #3566

Description

@zedwei2

tdesign-react 版本

20.14.0

重现链接

https://stackblitz.com/edit/zqadqkcz?file=src%2Fdemo.tsx

重现步骤

在官网demo中 tree配置多新增一行如
tree={{
checkStrictly,
childrenKey: CHILDREN_KEY,
treeNodeColumnIndex: 2,
expandTreeNodeOnClick: true,
defaultExpandAll: true // 新增内容
}}

期望结果

树形结构默认展开全部

实际结果

树形结构未展开全部

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions