fix: 修复系统管理员不能互相更新的问题

This commit is contained in:
Bai
2023-05-19 17:38:41 +08:00
committed by Jiangjie.Bai
parent d3cbb48e05
commit 9ab2acfa5b

View File

@@ -43,6 +43,7 @@ const mutations = {
state.profile = profile
state.username = profile.username
state.perms = profile.perms
state.isSuperAdmin = profile['is_superuser']
state.consoleOrgs = profile['console_orgs']
state.workbenchOrgs = profile['workbench_orgs']
state.noRootWorkbenchOrgs = profile['workbench_orgs'].filter(item => {