We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a62648c commit ec68066Copy full SHA for ec68066
ui/src/workflow/nodes/base-node/index.vue
@@ -382,8 +382,17 @@ const refreshTTSForm = (data: any) => {
382
form_data.value.tts_model_params_setting = data
383
}
384
385
+const default_upload_setting = {
386
+ maxFiles: 3,
387
+ fileLimit: 50,
388
+ document: true,
389
+ image: false,
390
+ audio: false,
391
+ video: false
392
+}
393
+
394
const openFileUploadSettingDialog = () => {
- FileUploadSettingDialogRef.value?.open(form_data.value.file_upload_setting)
395
+ FileUploadSettingDialogRef.value?.open(form_data.value.file_upload_setting || default_upload_setting)
396
397
398
const refreshFileUploadForm = (data: any) => {
0 commit comments