From 3b40d4f1616c337b25603f6c0f05e7c499f74128 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Thu, 29 Sep 2022 21:13:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E8=A1=A8=E4=B8=AD=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=20name?= =?UTF-8?q?=20=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 5788be9..2161c8d 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -20,7 +20,6 @@ export const constantRoutes: RouteRecordRaw[] = [ { path: "/403", component: () => import("@/views/error-page/403.vue"), - name: "403", meta: { hidden: true } @@ -28,7 +27,6 @@ export const constantRoutes: RouteRecordRaw[] = [ { path: "/404", component: () => import("@/views/error-page/404.vue"), - name: "404", meta: { hidden: true }, @@ -189,7 +187,7 @@ export const asyncRoutes: RouteRecordRaw[] = [ ] }, { - path: "/:pathMatch(.*)*", // 必须将 'ErrorPage' 路由放在最后, Must put the 'ErrorPage' route at the end + path: "/:pathMatch(.*)*", // Must put the 'ErrorPage' route at the end, 必须将 'ErrorPage' 路由放在最后 redirect: "/404", name: "ErrorPage", meta: {