diff --git a/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue b/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue index 5df8716931..d38eda2577 100644 --- a/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue +++ b/frontend/src/business/components/api/automation/scenario/common/ScenarioImport.vue @@ -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; } diff --git a/frontend/src/business/components/api/definition/components/import/ApiImport.vue b/frontend/src/business/components/api/definition/components/import/ApiImport.vue index d6d0db84a1..47bfa6da5f 100644 --- a/frontend/src/business/components/api/definition/components/import/ApiImport.vue +++ b/frontend/src/business/components/api/definition/components/import/ApiImport.vue @@ -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; } diff --git a/frontend/src/business/components/track/case/components/TestCaseImport.vue b/frontend/src/business/components/track/case/components/TestCaseImport.vue index c405cfcf9e..c960331e5f 100644 --- a/frontend/src/business/components/track/case/components/TestCaseImport.vue +++ b/frontend/src/business/components/track/case/components/TestCaseImport.vue @@ -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; } diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index b7b08ca683..3b923769ff 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -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...", diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index d696d2548f..25269cf9f9 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -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: "表格文件", diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index 2ce62ec437..08af9c4cf5 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -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: "表格文件",