Revert "feat(web): update read_all_config select valueKey"

This reverts commit 46f0f3cee9.
This commit is contained in:
zhaoying
2026-01-28 15:20:31 +08:00
parent 46f0f3cee9
commit 102712a16e
4 changed files with 11 additions and 20 deletions

View File

@@ -200,7 +200,7 @@ export const nodeLibrary: NodeLibrary[] = [
config_id: {
type: 'customSelect',
url: memoryConfigListUrl,
valueKey: ['config_id_old', 'config_id'],
valueKey: 'config_id',
labelKey: 'config_name'
},
search_switch: {
@@ -223,7 +223,7 @@ export const nodeLibrary: NodeLibrary[] = [
config_id: {
type: 'customSelect',
url: memoryConfigListUrl,
valueKey: ['config_id_old', 'config_id'],
valueKey: 'config_id',
labelKey: 'config_name'
}
}

View File

@@ -14,7 +14,7 @@ export interface NodeConfig {
url?: string;
params?: { [key: string]: unknown; }
valueKey?: string | string[];
valueKey?: string;
labelKey?: string;
defaultValue?: any;