mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 04:29:20 +08:00
refactor: 重构超管相关
This commit is contained in:
@@ -120,7 +120,7 @@ const menus = computed(() => {
|
||||
}
|
||||
|
||||
// 只有超级管理员才显示切换账户功能
|
||||
if (accessStore.userRole === 'super') {
|
||||
if (accessStore.isSuper) {
|
||||
menuItems.push({
|
||||
handler: () => {
|
||||
switchAccountModalRef.value?.open();
|
||||
|
||||
Reference in New Issue
Block a user