Skip to content

TreeNode.dataRef is undefined when the tree component is loaded asynchronously #4100

@yanduhantan1991

Description

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

Version

2.1.4

Environment

vue3.x,ant-design v2.1.2和2.1.6

Reproduction link

https://2x.antdv.com/components/tree-cn

Steps to reproduce

使用树组件的异步加载,添加下级数据时,treeNode.dataRef未定义

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