Skip to content

两个Tree 互相拖拽 / 外部数据拖拽到tree中 drop 事件 没有监听到 有什么解决办法? #8225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task
LXJ-ziLiang opened this issue Jun 9, 2025 · 0 comments

Comments

@LXJ-ziLiang
Copy link

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

Version

4.2.6

Environment

vue3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<a-tree
:tree-data="tree2"
draggable
block-node
:allow-drop="() => true"
@dragstart="(info:any) =>onDragStart(info,'tree2')"
@drop="(info:any) => onDrop(info,'tree2')"
/>

What is expected?

希望drop 事件能监听到 外部数据的拖入 / 两个tree 可以互相拖拽

What is actually happening?

drop 事件没有响应

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant