diff --git a/frontend/src/business/components/settings/workspace/environment/EnvironmentGroupRow.vue b/frontend/src/business/components/settings/workspace/environment/EnvironmentGroupRow.vue index 29e7075a19..8565d81332 100644 --- a/frontend/src/business/components/settings/workspace/environment/EnvironmentGroupRow.vue +++ b/frontend/src/business/components/settings/workspace/environment/EnvironmentGroupRow.vue @@ -11,7 +11,7 @@ egp.projectId); + if (usedProjectId) { + this.projectList.forEach(p => { + p.disabled = !!usedProjectId.find(id => id === p.id); + }) + } + }, environmentChange(item) { // todo 优化 // 环境改变时初始化判断状态