From 4946331adc9ca8a93b43547cbbfe0a8cbf31a771 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 24 Jul 2023 11:41:15 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):?= =?UTF-8?q?=20=E6=B7=BB=E5=8A=A0=E7=8E=AF=E5=A2=83=E7=BB=84=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E6=97=B6=E5=A2=9E=E5=8A=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027795 --user=王孝刚 【系统设置】github#25593,优化建议 系统设置-环境组:编辑不填内容点+ 没反应,可以给个提示 https://www.tapd.cn/55049933/s/1396399 --- 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 + .../src/business/workspace/environment/EnvironmentGroupRow.vue | 1 + 4 files changed, 4 insertions(+) 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 d26f9a4427..d73808de15 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/en-US.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/en-US.js @@ -746,6 +746,7 @@ const message = { "This environment group lacks the necessary project environment!", available_group: "available", not_available_group: "unavailable", + please_select_project_env: "Please select project and environment", }, }, organization: { 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 0ac24aa570..85b521ad17 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-CN.js @@ -732,6 +732,7 @@ const message = { lack_necessary_environment: "此环境组缺少必要的项目环境!", available_group: "可用环境组", not_available_group: "不可用环境组(缺少项目环境)", + please_select_project_env: "请选择项目和环境", }, }, organization: { 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 5989f63704..28a824e32f 100644 --- a/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js +++ b/framework/sdk-parent/frontend/src/i18n/lang/zh-TW.js @@ -731,6 +731,7 @@ const message = { lack_necessary_environment: "此環境組缺少必要的項目環境!", available_group: "可用環境組", not_available_group: "不可用環境組(缺少項目環境)", + please_select_project_env: "請選擇項目和環境", }, }, organization: { diff --git a/system-setting/frontend/src/business/workspace/environment/EnvironmentGroupRow.vue b/system-setting/frontend/src/business/workspace/environment/EnvironmentGroupRow.vue index 06fd97f532..371f819779 100644 --- a/system-setting/frontend/src/business/workspace/environment/EnvironmentGroupRow.vue +++ b/system-setting/frontend/src/business/workspace/environment/EnvironmentGroupRow.vue @@ -379,6 +379,7 @@ export default { } // 没有空行,需要创建空行 isNeedCreate = false; + this.$warning(this.$t('workspace.env_group.please_select_project_env')); } }); if (isNeedCreate) {