mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
fix: Upload local files and add output fields
This commit is contained in:
parent
e758f015f3
commit
ec72140b51
|
|
@ -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 文件对应
|
||||
|
|
|
|||
Loading…
Reference in New Issue