feat: update video file extensions and clean up code formatting in file upload settings
parent
b36e8f5350
commit
678122fe9e
|
|
@ -403,7 +403,7 @@ const upload = ref()
|
||||||
|
|
||||||
const imageExtensions = ['JPG', 'JPEG', 'PNG', 'GIF', 'BMP']
|
const imageExtensions = ['JPG', 'JPEG', 'PNG', 'GIF', 'BMP']
|
||||||
const documentExtensions = ['PDF', 'DOCX', 'TXT', 'XLS', 'XLSX', 'MD', 'HTML', 'CSV']
|
const documentExtensions = ['PDF', 'DOCX', 'TXT', 'XLS', 'XLSX', 'MD', 'HTML', 'CSV']
|
||||||
const videoExtensions: any = ['MP4', 'MOV', 'AVI']
|
const videoExtensions: any = ['MP4', 'AVI', 'MKV', 'MOV', 'FLV', 'WMV']
|
||||||
const audioExtensions = ['MP3', 'WAV', 'OGG', 'AAC', 'M4A']
|
const audioExtensions = ['MP3', 'WAV', 'OGG', 'AAC', 'M4A']
|
||||||
const otherExtensions = ref(['PPT', 'DOC'])
|
const otherExtensions = ref(['PPT', 'DOC'])
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -523,6 +523,8 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
|
||||||
: [],
|
: [],
|
||||||
audio_list:
|
audio_list:
|
||||||
other_params_data && other_params_data.audio_list ? other_params_data.audio_list : [],
|
other_params_data && other_params_data.audio_list ? other_params_data.audio_list : [],
|
||||||
|
video_list:
|
||||||
|
other_params_data && other_params_data.video_list ? other_params_data.video_list : [],
|
||||||
other_list:
|
other_list:
|
||||||
other_params_data && other_params_data.other_list ? other_params_data.other_list : [],
|
other_params_data && other_params_data.other_list ? other_params_data.other_list : [],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -242,7 +242,7 @@ const InputRef = ref<InputInstance>()
|
||||||
const documentExtensions = ['TXT', 'MD', 'DOCX', 'HTML', 'CSV', 'XLSX', 'XLS', 'PDF']
|
const documentExtensions = ['TXT', 'MD', 'DOCX', 'HTML', 'CSV', 'XLSX', 'XLS', 'PDF']
|
||||||
const imageExtensions = ['JPG', 'JPEG', 'PNG', 'GIF']
|
const imageExtensions = ['JPG', 'JPEG', 'PNG', 'GIF']
|
||||||
const audioExtensions = ['MP3', 'WAV', 'OGG', 'ACC', 'M4A']
|
const audioExtensions = ['MP3', 'WAV', 'OGG', 'ACC', 'M4A']
|
||||||
const videoExtensions: any = ['MP4', 'MOV', 'AVI']
|
const videoExtensions: any = ['MP4', 'AVI', 'MKV', 'MOV', 'FLV', 'WMV']
|
||||||
|
|
||||||
const form_data = ref({
|
const form_data = ref({
|
||||||
maxFiles: 3,
|
maxFiles: 3,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue