mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-20 02:31:43 +00:00
fix: 修复系统管理员不能互相更新的问题
This commit is contained in:
@@ -43,6 +43,7 @@ const mutations = {
|
|||||||
state.profile = profile
|
state.profile = profile
|
||||||
state.username = profile.username
|
state.username = profile.username
|
||||||
state.perms = profile.perms
|
state.perms = profile.perms
|
||||||
|
state.isSuperAdmin = profile['is_superuser']
|
||||||
state.consoleOrgs = profile['console_orgs']
|
state.consoleOrgs = profile['console_orgs']
|
||||||
state.workbenchOrgs = profile['workbench_orgs']
|
state.workbenchOrgs = profile['workbench_orgs']
|
||||||
state.noRootWorkbenchOrgs = profile['workbench_orgs'].filter(item => {
|
state.noRootWorkbenchOrgs = profile['workbench_orgs'].filter(item => {
|
||||||
|
Reference in New Issue
Block a user