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) {