Skip to content

Commit dd5db3e

Browse files
committed
feat: audio support m4a
--story=1017864 --user=王孝刚 【应用】上传音频文件类型中支持m4a类型 #2276 https://www.tapd.cn/57709429/s/1654257
1 parent c524fbc commit dd5db3e

File tree

1 file changed

+1
-1
lines changed
  • ui/src/components/ai-chat/component/chat-input-operate

1 file changed

+1
-1
lines changed

ui/src/components/ai-chat/component/chat-input-operate/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ const localLoading = computed({
260260
const imageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp']
261261
const documentExtensions = ['pdf', 'docx', 'txt', 'xls', 'xlsx', 'md', 'html', 'csv']
262262
const videoExtensions = ['mp4', 'avi', 'mov', 'mkv', 'flv']
263-
const audioExtensions = ['mp3', 'wav', 'ogg', 'aac']
263+
const audioExtensions = ['mp3', 'wav', 'ogg', 'aac', 'm4a']
264264
265265
const getAcceptList = () => {
266266
const { image, document, audio, video } = props.applicationDetails.file_upload_setting

0 commit comments

Comments
 (0)