Skip to content

Conversation

SunG0
Copy link

@SunG0 SunG0 commented Oct 9, 2023

目前拖动时用户只能通过tree左侧的箭头判断节点最终移动的位置,致使拖动操作时容易造成误判,操作结束前同样较难确定最终操作结果;
本次修改新增拖动方法回调参数:目标节点、移动位置;用户可以通过拿到‘拖动目标之于目标节点的相对位置’提供用户更清晰明确的拖动信息,同时也可以满足用户生成tree拖动操作日志等功能。
实现效果可见demo:drag_move.html

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

Successfully merging this pull request may close these issues.

1 participant