This commit is contained in:
asp_ly 2024-12-30 20:06:25 +08:00
parent e8471da918
commit ed186d893e
2 changed files with 1 additions and 2 deletions

View File

@ -109,4 +109,5 @@ export interface NodeDefinitionResponse extends BaseResponse {
formVariablesSchema: NodeVariablesSchema | null;
panelVariables?: Record<string, any>;
localVariables?: Record<string, any>;
formVariables?: Record<string, any>;
}

View File

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