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',