From 637d1dc92d18c5c2d0d65d73d51f696364666790 Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Fri, 3 Jan 2025 15:47:29 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E7=94=A8=E6=88=B7=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E8=A7=86=E8=A7=92=20=E6=9D=83=E9=99=90=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=BC=98=E5=8C=96=20#11138=20#=20Reviewed,=20transact?= =?UTF-8?q?ion=20id:=2028382?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/devops-manage/src/store/userDetailGroupTable.ts | 3 +-- .../devops-permission/src/store/userDetailGroupTable.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/frontend/devops-manage/src/store/userDetailGroupTable.ts b/src/frontend/devops-manage/src/store/userDetailGroupTable.ts index f38cf65a9d1..9283c2b9245 100644 --- a/src/frontend/devops-manage/src/store/userDetailGroupTable.ts +++ b/src/frontend/devops-manage/src/store/userDetailGroupTable.ts @@ -148,8 +148,7 @@ export default defineStore('userDetailGroupTable', () => { if (authorizationData && Array.isArray(authorizationData.records) && item === authorizationItem) { item.tableData = authorizationData.records; item.activeFlag = true; - } - if (userGroupData && Array.isArray(userGroupData.records) && item === userGroupItem) { + } else if (userGroupData && Array.isArray(userGroupData.records) && item === userGroupItem) { item.tableData = userGroupData.records; item.activeFlag = true; } diff --git a/src/frontend/devops-permission/src/store/userDetailGroupTable.ts b/src/frontend/devops-permission/src/store/userDetailGroupTable.ts index 414e15d0520..608a3a329ba 100644 --- a/src/frontend/devops-permission/src/store/userDetailGroupTable.ts +++ b/src/frontend/devops-permission/src/store/userDetailGroupTable.ts @@ -148,8 +148,7 @@ export default defineStore('userDetailGroupTable', () => { if (authorizationData && Array.isArray(authorizationData.records) && item === authorizationItem) { item.tableData = authorizationData.records; item.activeFlag = true; - } - if (userGroupData && Array.isArray(userGroupData.records) && item === userGroupItem) { + } else if(userGroupData && Array.isArray(userGroupData.records) && item === userGroupItem) { item.tableData = userGroupData.records; item.activeFlag = true; }