fix(文件上传): 修复文件大小限制和文案不统一 (#6363)
Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com>
This commit is contained in:
parent
a744b6a2c5
commit
6ad01bb07e
|
@ -115,7 +115,7 @@
|
||||||
this.$warning(this.$t('api_test.api_import.suffixFormatErr'));
|
this.$warning(this.$t('api_test.api_import.suffixFormatErr'));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (file.size / 1024 / 1024 > 30) {
|
if (file.size / 1024 / 1024 > 50) {
|
||||||
this.$warning(this.$t('jar_config.upload_limit_size'));
|
this.$warning(this.$t('jar_config.upload_limit_size'));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,7 @@
|
||||||
this.$warning(this.$t('api_test.api_import.suffixFormatErr'));
|
this.$warning(this.$t('api_test.api_import.suffixFormatErr'));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (file.size / 1024 / 1024 > 30) {
|
if (file.size / 1024 / 1024 > 50) {
|
||||||
this.$warning(this.$t('jar_config.upload_limit_size'));
|
this.$warning(this.$t('jar_config.upload_limit_size'));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue