1
This commit is contained in:
parent
e8471da918
commit
ed186d893e
@ -109,4 +109,5 @@ export interface NodeDefinitionResponse extends BaseResponse {
|
|||||||
formVariablesSchema: NodeVariablesSchema | null;
|
formVariablesSchema: NodeVariablesSchema | null;
|
||||||
panelVariables?: Record<string, any>;
|
panelVariables?: Record<string, any>;
|
||||||
localVariables?: Record<string, any>;
|
localVariables?: Record<string, any>;
|
||||||
|
formVariables?: Record<string, any>;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -127,8 +127,6 @@ export const convertJsonSchemaToColumns = (schema: JsonSchema): ProFormColumnsTy
|
|||||||
// 如果有数据源配置,使用远程数据源的选择器
|
// 如果有数据源配置,使用远程数据源的选择器
|
||||||
if (value.dataSource && value.dataSource.type === 'api') {
|
if (value.dataSource && value.dataSource.type === 'api') {
|
||||||
const dataSource = value.dataSource;
|
const dataSource = value.dataSource;
|
||||||
console.log('Creating select field with dataSource:', key, dataSource);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...baseConfig,
|
...baseConfig,
|
||||||
valueType: 'select',
|
valueType: 'select',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user