Feat:drag插件的beforeDragEnd选项新增当前被拖拽的节点列表的回调参数
This commit is contained in:
parent
dc096fd535
commit
35c8e129f0
@ -148,7 +148,8 @@ class Drag extends Base {
|
|||||||
const isCancel = await beforeDragEnd({
|
const isCancel = await beforeDragEnd({
|
||||||
overlapNodeUid,
|
overlapNodeUid,
|
||||||
prevNodeUid,
|
prevNodeUid,
|
||||||
nextNodeUid
|
nextNodeUid,
|
||||||
|
beingDragNodeList: [...this.beingDragNodeList]
|
||||||
})
|
})
|
||||||
if (isCancel) {
|
if (isCancel) {
|
||||||
this.reset()
|
this.reset()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user