ant-design-vue
ant-design-vue copied to clipboard
两个Tree 互相拖拽 / 外部数据拖拽到tree中 drop 事件 没有监听到 有什么解决办法?
trafficstars
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.6
Environment
vue3
Reproduction link
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 事件没有响应