diff --git a/frontend/src/pages/Workflow/Design/components/NodeConfigModal.tsx b/frontend/src/pages/Workflow/Design/components/NodeConfigModal.tsx index a70b7fff..c60e239d 100644 --- a/frontend/src/pages/Workflow/Design/components/NodeConfigModal.tsx +++ b/frontend/src/pages/Workflow/Design/components/NodeConfigModal.tsx @@ -165,8 +165,7 @@ const NodeConfigModal: React.FC = ({ 'x-decorator': 'FormItem', 'x-decorator-props': { tooltip: prop.description, - labelCol: 6, // 标签占6列 - wrapperCol: 18, // 内容占18列(剩余空间) + // 垂直布局不需要 labelCol 和 wrapperCol }, }; @@ -261,9 +260,9 @@ const NodeConfigModal: React.FC = ({ return null; } - return ( - !open && onCancel()}> - + return ( + !open && onCancel()}> + {/* Header - 固定在顶部 */}
@@ -285,8 +284,8 @@ const NodeConfigModal: React.FC = ({ className="w-full" > {/* 基本配置 - 始终显示 */} - - + + 基本配置 @@ -300,8 +299,8 @@ const NodeConfigModal: React.FC = ({ {/* 输入映射 - 条件显示 */} {isConfigurableNode(nodeDefinition) && nodeDefinition.inputMappingSchema && ( - - + + 输入映射 @@ -316,8 +315,8 @@ const NodeConfigModal: React.FC = ({ {/* 输出映射 - 条件显示 */} {isConfigurableNode(nodeDefinition) && nodeDefinition.outputMappingSchema && ( - - + + 输出映射