【issues/7500】vue-router4.5.0版本路由name:PageNotFound同名导致登录进不去

pull/7524/head
JEECG 2024-11-27 10:51:44 +08:00
parent a79004b924
commit 32c8370ef2
1 changed files with 3 additions and 1 deletions

View File

@ -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---forissues/7500vue-router4.5.0name:PageNotFound
name: 'PageNotFound404',
// update-end--author:liaozhiyang---date:202401127---forissues/7500vue-router4.5.0name:PageNotFound
component: LAYOUT,
meta: {
title: 'ErrorPage',