This commit is contained in:
xinyan818
2023-12-13 15:01:35 +08:00
committed by GitHub
parent 85646b5ffa
commit 98b83c0078
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ watch(
val => {
fileUrl.value = val
const fileExt = val.split('.')[1] || ''
const image = ['png', 'jpg', 'jpge', 'gif']
const image = ['png', 'jpg', 'jpeg', 'gif']
ext.value = image.includes(fileExt) ? 'image' : fileExt
},
{ immediate: true }