Skip to content

Tree 组件异步加载,Promise 抛出异常,Tree组件会报错 #7719

@songpeng154

Description

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

Version

4.2.3

Environment

"vue": ">=3.2.0", "ant-design-vue": "4.2.3"

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击某个接口,如果Promise抛出异常,到导致报错,页面无法操作

What is expected?

如果Promise抛出异常,页面不会报错,并且点击的这项节点箭头回复正常,并且再次点击的时候可以处罚异步加载

What is actually happening?

Promise抛出异常,到导致报错,页面无法操作

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