From ada4dc9bb0895016647863f11988d05a352520ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E6=A2=A6?= Date: Mon, 13 Jan 2025 16:18:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8F=8F=E8=BF=B0=E6=A1=86=E8=BF=87?= =?UTF-8?q?=E9=95=BF=EF=BC=8C=E9=99=90=E5=88=B6=E6=9C=80=E5=A4=9A3?= =?UTF-8?q?=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../x-flow/src/components/PanelContainer/index.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/x-flow/src/components/PanelContainer/index.tsx b/packages/x-flow/src/components/PanelContainer/index.tsx index 1ab82a428..3126f1b0a 100644 --- a/packages/x-flow/src/components/PanelContainer/index.tsx +++ b/packages/x-flow/src/components/PanelContainer/index.tsx @@ -41,13 +41,8 @@ const Panel: FC = (props: IPanelProps) => { openLogPanel, } = props; // 1.获取节点配置信息 - const { - settingMap, - iconFontUrl, - globalConfig, - antdVersion, - readOnly, - }: any = useContext(ConfigContext); + const { settingMap, iconFontUrl, globalConfig, antdVersion, readOnly }: any = + useContext(ConfigContext); const nodeSetting = settingMap[nodeType] || {}; const { nodes, setNodes } = useStore( (state: any) => ({ @@ -179,7 +174,7 @@ const Panel: FC = (props: IPanelProps) => { ) : ( { setDescVal(e.target.value);