From 01c611573ee047da1d484b3d4ed6f9e338f727b4 Mon Sep 17 00:00:00 2001 From: hanfengcan <825927416@qq.com> Date: Sun, 20 Oct 2024 22:31:55 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E8=A7=A3=E5=86=B3ts=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/view/behavior/dnd.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/view/behavior/dnd.ts b/packages/core/src/view/behavior/dnd.ts index 737b077d6..abd477bdb 100644 --- a/packages/core/src/view/behavior/dnd.ts +++ b/packages/core/src/view/behavior/dnd.ts @@ -6,6 +6,7 @@ import { EventType } from '../../constant' import Position = LogicFlow.Position import OnDragNodeConfig = LogicFlow.OnDragNodeConfig +import { CallbackArgs } from 'src/event/eventEmitter' export class Dnd { nodeConfig: OnDragNodeConfig | null = null @@ -68,7 +69,7 @@ export class Dnd { this.lf.graphModel.eventCenter.emit(EventType.NODE_DND_DRAG, { data: nodeData, e, - }) + } as CallbackArgs) } return false }