From 26ba8938778842f91c90d4920b65c0303b9e7d65 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 17 Dec 2024 15:38:52 +0800 Subject: [PATCH] fix: The basic information node repeatedly turns on and off the file upload switch, and the audio variable of the starting node will increase repeatedly. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1050529 --user=刘瑞斌 【应用】-高级编排应用设置,基础信息节点反复开启关闭文件上传开关,开始节点的音频变量会重复增加 https://www.tapd.cn/57709429/s/1632488 --- ui/src/workflow/nodes/start-node/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/workflow/nodes/start-node/index.vue b/ui/src/workflow/nodes/start-node/index.vue index 8bec6ce39..20fa97417 100644 --- a/ui/src/workflow/nodes/start-node/index.vue +++ b/ui/src/workflow/nodes/start-node/index.vue @@ -69,7 +69,7 @@ const refreshFileUploadConfig = () => { .map((v: any) => cloneDeep(v.properties.node_data.file_upload_setting)) .filter((v: any) => v) - fields = fields.filter((item: any) => item.value !== 'image' && item.value !== 'document') + fields = fields.filter((item: any) => item.value !== 'image' && item.value !== 'document' && item.value !== 'audio' && item.value !== 'video') if (form_data.length === 0) { set(props.nodeModel.properties.config, 'fields', fields)