From 825f36c99f36cf4a75ca00da0e5a5b19d14ec6dc Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 14 Feb 2025 09:53:23 +0800 Subject: [PATCH] feat: audio support m4a MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --story=1017864 --user=王孝刚 【应用】上传音频文件类型中支持m4a类型 #2276 https://www.tapd.cn/57709429/s/1654257 --- .../components/ai-chat/component/chat-input-operate/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index 59a31ce26df..44c986ebbfa 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -260,7 +260,7 @@ const localLoading = computed({ const imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp'] const documentExtensions = ['pdf', 'docx', 'txt', 'xls', 'xlsx', 'md', 'html', 'csv'] const videoExtensions = ['mp4', 'avi', 'mov', 'mkv', 'flv'] -const audioExtensions = ['mp3', 'wav', 'ogg', 'aac'] +const audioExtensions = ['mp3', 'wav', 'ogg', 'aac', 'm4a'] const getAcceptList = () => { const { image, document, audio, video } = props.applicationDetails.file_upload_setting