fix(auth): 租户详情路由加 menuGuarded 守卫
- /company/tenant-detail 直链访问时按后端菜单树校验,普通角色菜单已隐藏则拦截跳转
This commit is contained in:
1 parent
c085594f51
commit
93464d0c3c
1 file changed
+1
-1
+1
-1
@@ -133,7 +133,7 @@ export const staticRoutes: RouteRecordRaw[] = [
|
||||
path: 'company/tenant-detail',
|
||||
name: 'CompanyTenantDetail',
|
||||
component: () => import('@/views/company/TenantDetail.vue'),
|
||||
meta: { title: '租户详情', requiresAuth: true },
|
||||
meta: { title: '租户详情', requiresAuth: true, menuGuarded: true },
|
||||
},
|
||||
{
|
||||
path: 'company/workgroup-detail',
|
||||
|
||||
Reference in new issue
Block a user