From 65dd3308026d75707101dec450ffa96fe7d8adff Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Tue, 25 Aug 2026 09:55:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(auth):=20=E7=A7=9F=E6=88=B7=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E8=B7=AF=E7=94=B1=E5=8A=A0=20menuGuarded=20=E5=AE=88?= =?UTF-8?q?=E5=8D=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /company/tenant-detail 直链访问时按后端菜单树校验,普通角色菜单已隐藏则拦截跳转 --- src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.ts b/src/router/index.ts index 5aed5ca..922e8ad 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -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',