Skip to content

[BUG] <title> TreeSelect 在启用 flattenTreeData 时,如果treeData为空,在失焦后flattenTreeData执行报错 #2846

@wangzishun

Description

@wangzishun

Is there an existing issue for this?

  • I have searched the existing issues

Which Component

TreeSelect

Semi Version

2.73.0

Current Behavior

<TreeSelect treeData={void 0} filterTreeNode />

先聚焦,然后鼠标点击其他地方失焦,即可看到报错

Image

Image

Expected Behavior

No response

Steps To Reproduce

No response

ReproducibleCode

Environment

- OS:
- browser:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions