fix: 软件包大小大于60M
This commit is contained in:
@@ -521,7 +521,7 @@ function fnBeforeUploadFile(file: FileType) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const isLt60M = file.size / 1024 / 1024 > 60;
|
const isLt60M = file.size / 1024 / 1024 > 60;
|
||||||
if (isLt60M) {
|
if (!isLt60M) {
|
||||||
message.error('有效软件文件大小应不小于 60MB', 3);
|
message.error('有效软件文件大小应不小于 60MB', 3);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user