fix(系统设置): 创建系统级别用户组Label有误

--bug=1032890 --user=宋昌昌 [系统设置]github#27552创建用户组页面字段含义和选项值存在差异 https://www.tapd.cn/55049933/s/1437945
This commit is contained in:
song-cc-rock 2023-11-20 10:39:36 +08:00 committed by Craftsman
parent 00b6e27e29
commit 7b6f3ffdbc
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ export default {
if (data) { if (data) {
this.workspaces = data; this.workspaces = data;
let workspace = this.workspaces.find(item => item.id === scopeId); let workspace = this.workspaces.find(item => item.id === scopeId);
if (workspace) { if (workspace || !scopeId) {
// //
this.showLabel = this.$t('project.owning_workspace'); this.showLabel = this.$t('project.owning_workspace');
} else { } else {