fix: Upload local files and add output fields

This commit is contained in:
shaohuzhang1 2025-11-20 14:52:16 +08:00
parent e758f015f3
commit ec72140b51

View File

@ -92,7 +92,14 @@ export const dataSourceLocalNode = {
stepName: t('views.applicationWorkflow.nodes.dataSourceLocalNode.label', '本地文件'),
input_field_list: [],
node_data: {},
config: {},
config: {
fields: [
{
label: t('views.applicationWorkflow.nodes.dataSourceLocalNode.field_label', '文件列表'),
value: 'file_list',
},
],
},
showNode: true,
user_input_config: {},
user_input_field_list: [],
@ -129,12 +136,11 @@ export const knowledgeWriteNode = {
height: 252,
stepName: t('views.applicationWorkflow.nodes.knowledgeWriteNode.label'),
config: {
fields:[]
fields: [],
},
},
}
/**
*
* type nodes