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',