mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
Feat:drag插件的beforeDragEnd选项新增当前被拖拽的节点列表的回调参数
This commit is contained in:
@@ -148,7 +148,8 @@ class Drag extends Base {
|
||||
const isCancel = await beforeDragEnd({
|
||||
overlapNodeUid,
|
||||
prevNodeUid,
|
||||
nextNodeUid
|
||||
nextNodeUid,
|
||||
beingDragNodeList: [...this.beingDragNodeList]
|
||||
})
|
||||
if (isCancel) {
|
||||
this.reset()
|
||||
|
||||
Reference in New Issue
Block a user