From ed186d893eb10de677d288b621cb349edce1d07b Mon Sep 17 00:00:00 2001 From: asp_ly Date: Mon, 30 Dec 2024 20:06:25 +0800 Subject: [PATCH] 1 --- frontend/src/pages/Workflow/NodeDesign/types.ts | 1 + frontend/src/utils/jsonSchemaUtils.ts | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/pages/Workflow/NodeDesign/types.ts b/frontend/src/pages/Workflow/NodeDesign/types.ts index b0b54268..59b8606f 100644 --- a/frontend/src/pages/Workflow/NodeDesign/types.ts +++ b/frontend/src/pages/Workflow/NodeDesign/types.ts @@ -109,4 +109,5 @@ export interface NodeDefinitionResponse extends BaseResponse { formVariablesSchema: NodeVariablesSchema | null; panelVariables?: Record; localVariables?: Record; + formVariables?: Record; } diff --git a/frontend/src/utils/jsonSchemaUtils.ts b/frontend/src/utils/jsonSchemaUtils.ts index 881aebd0..295b5668 100644 --- a/frontend/src/utils/jsonSchemaUtils.ts +++ b/frontend/src/utils/jsonSchemaUtils.ts @@ -127,8 +127,6 @@ export const convertJsonSchemaToColumns = (schema: JsonSchema): ProFormColumnsTy // 如果有数据源配置,使用远程数据源的选择器 if (value.dataSource && value.dataSource.type === 'api') { const dataSource = value.dataSource; - console.log('Creating select field with dataSource:', key, dataSource); - return { ...baseConfig, valueType: 'select',