fix: 修复404页面

This commit is contained in:
XieYongHong 2023-08-18 16:00:01 +08:00
parent 30e53778c9
commit 85fd17cd8c
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ router.beforeEach((to, from, next) => {
router.addRoute('base',{
path: '/:pathMatch(.*)',
name: 'error',
component: () => NotFindPage
component: NotFindPage
})
next({ ...to, replace: true })