From 32c8370ef25d8fc893a45eef51f3e13eee6d74fc Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Wed, 27 Nov 2024 10:51:44 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90issues/7500=E3=80=91vue-router4.5.0?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E8=B7=AF=E7=94=B1name:PageNotFound=E5=90=8C?= =?UTF-8?q?=E5=90=8D=E5=AF=BC=E8=87=B4=E7=99=BB=E5=BD=95=E8=BF=9B=E4=B8=8D?= =?UTF-8?q?=E5=8E=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecgboot-vue3/src/router/routes/basic.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jeecgboot-vue3/src/router/routes/basic.ts b/jeecgboot-vue3/src/router/routes/basic.ts index 3dddee27..a442a56e 100644 --- a/jeecgboot-vue3/src/router/routes/basic.ts +++ b/jeecgboot-vue3/src/router/routes/basic.ts @@ -5,7 +5,9 @@ import { REDIRECT_NAME, LAYOUT, EXCEPTION_COMPONENT, PAGE_NOT_FOUND_NAME } from // 404 on a page export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = { path: '/:path(.*)*', - name: PAGE_NOT_FOUND_NAME, + // update-begin--author:liaozhiyang---date:202401127---for:【issues/7500】vue-router4.5.0版本路由name:PageNotFound同名导致登录进不去 + name: 'PageNotFound404', + // update-end--author:liaozhiyang---date:202401127---for:【issues/7500】vue-router4.5.0版本路由name:PageNotFound同名导致登录进不去 component: LAYOUT, meta: { title: 'ErrorPage',