refactor(系统设置): 添加环境组选项时增加提示

--bug=1027795 --user=王孝刚 【系统设置】github#25593,优化建议 系统设置-环境组:编辑不填内容点+
没反应,可以给个提示 https://www.tapd.cn/55049933/s/1396399
This commit is contained in:
wxg0103 2023-07-24 11:41:15 +08:00 committed by fit2-zhao
parent 29288afcbf
commit 4946331adc
4 changed files with 4 additions and 0 deletions

View File

@ -746,6 +746,7 @@ const message = {
"This environment group lacks the necessary project environment", "This environment group lacks the necessary project environment",
available_group: "available", available_group: "available",
not_available_group: "unavailable", not_available_group: "unavailable",
please_select_project_env: "Please select project and environment",
}, },
}, },
organization: { organization: {

View File

@ -732,6 +732,7 @@ const message = {
lack_necessary_environment: "此环境组缺少必要的项目环境!", lack_necessary_environment: "此环境组缺少必要的项目环境!",
available_group: "可用环境组", available_group: "可用环境组",
not_available_group: "不可用环境组(缺少项目环境)", not_available_group: "不可用环境组(缺少项目环境)",
please_select_project_env: "请选择项目和环境",
}, },
}, },
organization: { organization: {

View File

@ -731,6 +731,7 @@ const message = {
lack_necessary_environment: "此環境組缺少必要的項目環境!", lack_necessary_environment: "此環境組缺少必要的項目環境!",
available_group: "可用環境組", available_group: "可用環境組",
not_available_group: "不可用環境組(缺少項目環境)", not_available_group: "不可用環境組(缺少項目環境)",
please_select_project_env: "請選擇項目和環境",
}, },
}, },
organization: { organization: {

View File

@ -379,6 +379,7 @@ export default {
} }
// //
isNeedCreate = false; isNeedCreate = false;
this.$warning(this.$t('workspace.env_group.please_select_project_env'));
} }
}); });
if (isNeedCreate) { if (isNeedCreate) {