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