From c1c3785ffe4bf50079b14a9823aa65e1c72aa6d8 Mon Sep 17 00:00:00 2001 From: jile1997 <1154416769@qq.com> Date: Mon, 6 Jan 2025 16:54:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=B1=BB=E5=9E=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/x-flow/src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/x-flow/src/types.ts b/packages/x-flow/src/types.ts index b92a51d1c..aa6ccea6e 100644 --- a/packages/x-flow/src/types.ts +++ b/packages/x-flow/src/types.ts @@ -132,8 +132,8 @@ export interface FlowProps { readOnly?:boolean//只读模式 panel?:TPanel //表单配置面板 onNodeClick?: NodeMouseHandler; - onMenuItemClick: (itemInfo: ItemInfo, defaultAction: () => void) => void; - clickAddNode:(type:string,NodeItem:TNodeItem,addNode:(initData?:Record)=>void)=>void + onMenuItemClick?: (itemInfo: ItemInfo, defaultAction: () => void) => void; + clickAddNode?:(type:string,NodeItem:TNodeItem,addNode:(initData?:Record)=>void)=>void // 单点调试方法 onTesting?: () => void;// 单点调试方法 }