修复了一些小错误

This commit is contained in:
2020-11-27 09:46:09 +08:00
parent b5f9f46da8
commit 660af5b8e1
4 changed files with 5 additions and 5 deletions

View File

@@ -73,15 +73,13 @@ export function provenimg(file: any): boolean | void{
message.error(lan.$t('zuida') + "2MB")
return false;
}
let istype = false
for(const i in type){
if(type[i] == ntype){
istype = true
return true
}
}
message.error(lan.$t("leixingcuowu"))
console.log(istype)
return istype;
return false;
}
/**