Skip to content

[tree] allowDrop 支持异步函数 #3740

@wynn719

Description

@wynn719

这个功能解决了什么问题

tree allowDrop 目前只支持同步调用,在大型树场景中,拖拽有时候需要支持异步的检查权限

你建议的方案是什么?

allowDrop 支持 Promise 类型

异步函数不支持复现链接:https://stackblitz.com/edit/uwnycihf?file=src%2Fdemo.vue

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