From 95606831030824fdb6d8026601d9ae9e712f602f Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Tue, 11 Jul 2023 15:15:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=8E=AF=E5=A2=83=E9=80=9A=E7=94=A8=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=97=AE=E9=A2=98=E6=B1=87=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027624 --user=宋昌昌 【项目设置】github#25432,【项目设置】-项目环境:创建环境通用配置导入JSON文件名称过长时建议加上悬浮显示窗口以便能查看全部内容。 https://www.tapd.cn/55049933/s/1392091 --bug=1027625 --user=宋昌昌 【项目设置】github#25430,优化建议【项目设置】-项目环境:创建环境通用配置导入选择JSON文件提示“保存成功”建议修改为点击上传选择文件提示“导入成功”点击确定提示“保存成功”。 https://www.tapd.cn/55049933/s/1392093 --- .../environment/commons/variable/VariableImport.vue | 8 +++++++- framework/sdk-parent/frontend/src/i18n/lang/en-US.js | 1 + framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js | 1 + framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/framework/sdk-parent/frontend/src/components/environment/commons/variable/VariableImport.vue b/framework/sdk-parent/frontend/src/components/environment/commons/variable/VariableImport.vue index 2cafb0751a..73a39518a1 100644 --- a/framework/sdk-parent/frontend/src/components/environment/commons/variable/VariableImport.vue +++ b/framework/sdk-parent/frontend/src/components/environment/commons/variable/VariableImport.vue @@ -116,7 +116,7 @@ export default { } this.$emit("mergeData", fileString, this.modeId); this.dialogVisible = false; - this.$success(this.$t('commons.save_success')); + this.$success(this.$t('commons.upload_success')); } catch (exception) { this.$warning(this.$t('api_test.api_import.ms_env_import_file_limit')); } @@ -157,4 +157,10 @@ export default { padding-left: 20px; padding-right: 20px; } + +:deep(a.el-upload-list__item-name) { + overflow: visible; + text-overflow: unset; + white-space: normal; +} 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 877bff591e..209784ffe5 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -94,6 +94,7 @@ const message = { relate_success: "Related successfully", unrelated_success: "Unrelated successfully", modify_success: "Modify Success", + upload_success: "Upload Success", copy_success: "Copy Success", delete_cancel: "Deleted Cancel", confirm: "Confirm", 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 52699943d6..5c8b12c744 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -93,6 +93,7 @@ const message = { unrelated_success: "取消关联成功", copy_success: "复制成功", modify_success: "修改成功", + upload_success: "上传成功", delete_cancel: "已取消删除", option_cannot_spread_pages: "这个操作不支持跨页,是否继续?", confirm: "确定", 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 998c26f2b1..094a5f3e64 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -93,6 +93,7 @@ const message = { copy_success: "復製成功", warning_module_add: "模塊樹深度最大為8層", modify_success: "修改成功", + upload_success: "上傳成功", delete_cancel: "已取消刪除", option_cannot_spread_pages: "這個操作不支持跨頁,是否繼續?", confirm: "確定",