diff --git a/src/router/index.ts b/src/router/index.ts index 0f4ff104..ad252983 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -38,7 +38,7 @@ router.beforeEach((to, from, next) => { router.addRoute('base',{ path: '/:pathMatch(.*)', name: 'error', - component: () => NotFindPage + component: NotFindPage }) next({ ...to, replace: true })