fix: 用例导入文件限制改为100M

This commit is contained in:
chenjianxing 2021-07-26 18:04:29 +08:00 committed by jianxing
parent 74f0fedc84
commit 135ffb7734
6 changed files with 10 additions and 10 deletions

View File

@ -202,7 +202,7 @@
this.$warning(this.$t('api_test.api_import.suffixFormatErr'));
return false;
}
if (file.size / 1024 / 1024 > 50) {
if (file.size / 1024 / 1024 > 100) {
this.$warning(this.$t('test_track.case.import.upload_limit_size'));
return false;
}

View File

@ -279,7 +279,7 @@
this.$warning(this.$t('api_test.api_import.suffixFormatErr'));
return false;
}
if (file.size / 1024 / 1024 > 50) {
if (file.size / 1024 / 1024 > 100) {
this.$warning(this.$t('test_track.case.import.upload_limit_size'));
return false;
}

View File

@ -217,7 +217,7 @@
return false;
}
if (file.size / 1024 / 1024 > 50) {
if (file.size / 1024 / 1024 > 100) {
this.$warning(this.$t('test_track.case.import.upload_limit_size'));
return false;
}
@ -233,7 +233,7 @@
return false;
}
if (file.size / 1024 / 1024 > 50) {
if (file.size / 1024 / 1024 > 100) {
this.$warning(this.$t('test_track.case.import.upload_limit_size'));
return false;
}

View File

@ -1457,12 +1457,12 @@ export default {
case_import: "Import test case",
download_template: "Download template",
click_upload: "Upload",
upload_limit: "Only XLS/XLSX/XMIND files can be uploaded, and no more than 20M",
upload_limit: "Only XLS/XLSX/XMIND files can be uploaded, and no more than 100M",
upload_xmind_format: "Upload files can only be .xmind format",
upload_xmind: "Only xmind files can be uploaded, and no more than 800",
upload_limit_count: "Only one file can be uploaded at a time",
upload_limit_format: "Upload files can only be XLS, XLSX format!",
upload_limit_size: "Upload file size cannot exceed 50MB!",
upload_limit_size: "Upload file size cannot exceed 100MB!",
upload_limit_other_size: "Upload file size cannot exceed",
success: "Import success",
importing: "Importing...",

View File

@ -1462,13 +1462,13 @@ export default {
case_import: "导入测试用例",
download_template: "下载模版",
click_upload: "点击上传",
upload_limit: "只能上传xls/xlsx文件且不超过50M",
upload_limit: "只能上传xls/xlsx文件且不超过100M",
upload_xmind: "支持文件类型:.xmind一次至多导入800 条用例",
upload_xmind_format: "上传文件只能是 .xmind 格式",
upload_limit_other_size: "上传文件大小不能超过",
upload_limit_count: "一次只能上传一个文件",
upload_limit_format: "上传文件只能是 xls、xlsx格式!",
upload_limit_size: "上传文件大小不能超过 50MB!",
upload_limit_size: "上传文件大小不能超过 100MB!",
success: "导入成功!",
importing: "导入中...",
excel_title: "表格文件",

View File

@ -1462,13 +1462,13 @@ export default {
case_import: "導入測試用例",
download_template: "下載模版",
click_upload: "點擊上傳",
upload_limit: "只能上傳xls/xlsx文件且不超過50M",
upload_limit: "只能上傳xls/xlsx文件且不超過100M",
upload_xmind: "支持文件類型:.xmind一次至多導入800 條用例",
upload_xmind_format: "上傳文件只能是 .xmind 格式",
upload_limit_other_size: "上傳文件大小不能超過",
upload_limit_count: "一次只能上傳一個文件",
upload_limit_format: "上傳文件只能是 xls、xlsx格式!",
upload_limit_size: "上傳文件大小不能超過 50MB!",
upload_limit_size: "上傳文件大小不能超過 100MB!",
success: "導入成功!",
importing: "導入中...",
excel_title: "表格文件",