From cc27ae6c92fdfdf9c003138ef788bb72ef4afb7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=94=E6=A2=A6?= Date: Wed, 15 Jan 2025 20:51:39 +0800 Subject: [PATCH] fix:reafonly --- packages/x-flow/src/components/NodeEditor/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/x-flow/src/components/NodeEditor/index.tsx b/packages/x-flow/src/components/NodeEditor/index.tsx index d5f48efcc..ad58f489b 100644 --- a/packages/x-flow/src/components/NodeEditor/index.tsx +++ b/packages/x-flow/src/components/NodeEditor/index.tsx @@ -121,7 +121,8 @@ const NodeEditor: FC = (props: any) => { widgets={widgets} watch={watch} size={'small'} - readOnly={readOnly} + // readOnly={readOnly} + disabled={readOnly} /> ); } else if (