fix: Default data for local file nodes

This commit is contained in:
shaohuzhang1 2025-12-03 15:14:37 +08:00
parent 842b4ddc85
commit 1d986feddf
2 changed files with 3 additions and 4 deletions

View File

@ -89,7 +89,6 @@ export const dataSourceLocalNode = {
height: 728.375,
stepName: t('views.workflow.nodes.dataSourceLocalNode.label'),
input_field_list: [],
node_data: {},
config: {
fields: [
{

View File

@ -93,9 +93,9 @@ const props = defineProps<{ nodeModel: any }>()
const file_type_list_options = ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV']
const form = {
file_type_list: [],
file_size_limit: 50,
file_count_limit: 100,
file_type_list: ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV'],
file_size_limit: 100,
file_count_limit: 50,
}
const form_data = computed({