mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 17:26:55 +08:00
perf: Hide non-essential menus
This commit is contained in:
committed by
fit2cloud-chenyw
parent
f4b7557050
commit
b8b3727d17
@@ -60,6 +60,7 @@ const routerList = computed(() => {
|
||||
!route.path.includes('audit') &&
|
||||
route.path !== '/login' &&
|
||||
route.path !== '/admin-login' &&
|
||||
route.path !== '/chatPreview' &&
|
||||
!route.path.includes('/system') &&
|
||||
((route.path.includes('set') && userStore.isSpaceAdmin) || !route.redirect) &&
|
||||
route.path !== '/:pathMatch(.*)*' &&
|
||||
|
||||
Reference in New Issue
Block a user