Skip to content

Commit

Permalink
feat:用户个人视角 权限管理优化 #11138
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 28382
  • Loading branch information
useryuyu committed Jan 3, 2025
1 parent 4c15673 commit 637d1dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/frontend/devops-manage/src/store/userDetailGroupTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 637d1dc

Please sign in to comment.