refactor: 重构超管相关

This commit is contained in:
2026-07-28 15:16:45 +08:00
parent 095efa4e64
commit 8a424f6121
36 changed files with 265 additions and 331 deletions
@@ -120,7 +120,7 @@ const menus = computed(() => {
}
// 只有超级管理员才显示切换账户功能
if (accessStore.userRole === 'super') {
if (accessStore.isSuper) {
menuItems.push({
handler: () => {
switchAccountModalRef.value?.open();