文件限制

ywj_dev
wj 2 years ago
parent ae556b2c77
commit 98b6ec72fe

@ -349,6 +349,7 @@ export default {
},
uploadHandleBefore(file){
console.log(file)
let isJPG = file.type === 'image/jpeg';
let isPNG = file.type === 'image/png';
if(!isJPG&&!isPNG){

Loading…
Cancel
Save