fix: 修复404页面
This commit is contained in:
parent
30e53778c9
commit
85fd17cd8c
|
@ -38,7 +38,7 @@ router.beforeEach((to, from, next) => {
|
|||
router.addRoute('base',{
|
||||
path: '/:pathMatch(.*)',
|
||||
name: 'error',
|
||||
component: () => NotFindPage
|
||||
component: NotFindPage
|
||||
})
|
||||
|
||||
next({ ...to, replace: true })
|
||||
|
|
Loading…
Reference in New Issue