fix(文件上传): 修复文件大小限制和文案不统一 (#6363)

Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com>
This commit is contained in:
metersphere-bot 2021-09-22 18:02:57 +08:00 committed by GitHub
parent a744b6a2c5
commit 6ad01bb07e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@
this.$warning(this.$t('api_test.api_import.suffixFormatErr'));
return false;
}
if (file.size / 1024 / 1024 > 30) {
if (file.size / 1024 / 1024 > 50) {
this.$warning(this.$t('jar_config.upload_limit_size'));
return false;
}

View File

@ -121,7 +121,7 @@
this.$warning(this.$t('api_test.api_import.suffixFormatErr'));
return false;
}
if (file.size / 1024 / 1024 > 30) {
if (file.size / 1024 / 1024 > 50) {
this.$warning(this.$t('jar_config.upload_limit_size'));
return false;
}