From 7168b3fe024b7138bc7237799b8f298203fbc693 Mon Sep 17 00:00:00 2001 From: WangJunZzz <510423039@qq.com> Date: Fri, 6 Dec 2024 17:49:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E9=87=8D=E5=A4=8D=E5=AF=BC=E8=87=B4=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vben28/src/router/routes/basic.ts | 24 +++++++++++----------- vben28/src/router/routes/modules/tenant.ts | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/vben28/src/router/routes/basic.ts b/vben28/src/router/routes/basic.ts index b92deea7..516a57c7 100644 --- a/vben28/src/router/routes/basic.ts +++ b/vben28/src/router/routes/basic.ts @@ -17,18 +17,18 @@ export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = { hideBreadcrumb: true, hideMenu: true, }, - children: [ - { - path: '/:path(.*)*', - name: PAGE_NOT_FOUND_NAME, - component: EXCEPTION_COMPONENT, - meta: { - title: 'ErrorPage', - hideBreadcrumb: true, - hideMenu: true, - }, - }, - ], + // children: [ + // { + // path: '/:path(.*)*', + // name: PAGE_NOT_FOUND_NAME, + // component: EXCEPTION_COMPONENT, + // meta: { + // title: 'ErrorPage', + // hideBreadcrumb: true, + // hideMenu: true, + // }, + // }, + //], }; export const REDIRECT_ROUTE: AppRouteRecordRaw = { diff --git a/vben28/src/router/routes/modules/tenant.ts b/vben28/src/router/routes/modules/tenant.ts index ce8a8334..034070cf 100644 --- a/vben28/src/router/routes/modules/tenant.ts +++ b/vben28/src/router/routes/modules/tenant.ts @@ -13,8 +13,8 @@ const tenant: AppRouteModule = { }, children: [ { - path: 'Tenant', - name: 'Tenant', + path: 'Page', + name: 'TenantPage', component: () => import('/@/views/tenants/Tenant.vue'), meta: { title: t('routes.tenant.tenantList'),