diff --git a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js index 11f5c67e75..8bfa2ef3fe 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -530,6 +530,7 @@ const message = { page_guidance: "Page guidance", novice_journey: "Novice Journey", minder_operation: "Minder Operation", + upload_limit_size: "The size of the uploaded file cannot exceed 50M!", }, login: { normal_Login: "Normal Login", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js index 3cb7291a89..4249408f65 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -522,6 +522,7 @@ const message = { page_guidance: "页面指引", novice_journey: "新手旅程", minder_operation: "脑图操作", + upload_limit_size: "上传文件大小不能超过 50M!", }, login: { normal_Login: "普通登录", diff --git a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js index 9dd475783d..96b9a83eac 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -521,6 +521,7 @@ const message = { page_guidance: "頁面指引", novice_journey: "新手旅程", minder_operation: "腦圖操作", + upload_limit_size: "上傳文件大小不能超過 50M!", }, login: { normal_Login: "普通登錄", diff --git a/system-setting/frontend/src/business/system/components/UserImport.vue b/system-setting/frontend/src/business/system/components/UserImport.vue index ca8484cbbf..8747ea463a 100644 --- a/system-setting/frontend/src/business/system/components/UserImport.vue +++ b/system-setting/frontend/src/business/system/components/UserImport.vue @@ -79,8 +79,8 @@ export default { this.$warning(this.$t('test_track.case.import.upload_limit_format')); return false; } - if (file.size / 1024 / 1024 > 20) { - this.$warning(this.$t('test_track.case.import.upload_limit_size')); + if (file.size / 1024 / 1024 > 50) { + this.$warning(this.$t('commons.upload_limit_size')); return false; } this.isLoading = true;