mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
测评上传修改上传文件大小限制提示语
This commit is contained in:
@@ -1273,7 +1273,7 @@ import {timeoutUpload} from "@/api/configPublic";
|
||||
}
|
||||
let isLt1M = file.size < 1024000000;
|
||||
if (!isLt1M) {
|
||||
message.error("图片大小超过1GB!");
|
||||
message.error("文件大小超过1GB!");
|
||||
return false;
|
||||
}
|
||||
state.uploadDownLoad = true
|
||||
|
||||
Reference in New Issue
Block a user