fix: 修复组织管理员角色权限问题

This commit is contained in:
feng626
2022-03-04 14:19:19 +08:00
committed by huailei
parent 5eb9a58f61
commit 842168e16b
2 changed files with 3 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ export default {
el: {
multiple: true,
ajax: {
url: '/api/v1/rbac/roles/?scope=system',
url: '/api/v1/rbac/system-roles/',
transformOption: (item) => {
if (item.name !== 'SystemComponent') {
return { label: item.display_name, value: item.id }
@@ -125,7 +125,7 @@ export default {
el: {
multiple: true,
ajax: {
url: '/api/v1/rbac/roles/?scope=org',
url: '/api/v1/rbac/org-roles/',
transformOption: (item) => {
return { label: item.display_name, value: item.id }
}