support more image files type

This commit is contained in:
Yanyutin753 2024-04-05 16:24:47 +08:00
parent 66da9dbc19
commit 4924a01d05

View File

@ -767,7 +767,16 @@ async function uploadFile(fileUrl: string, ticket: string) {
'image/tiff',
'image/png',
'image/bmp',
'image/gif'
'image/gif',
'image/svg+xml',
'image/webp',
'image/ico',
'image/heic',
'image/heif',
'image/bmp',
'image/x-icon',
'image/vnd.microsoft.icon',
'image/x-png'
].includes(mimeType);
if(isImage) {