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