diff --git a/src/router/index.ts b/src/router/index.ts index 500fdea4..90a8b724 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -39,7 +39,7 @@ export const constantRoutes: RouteRecordRaw[] = [ meta: { hidden: true } }, { - path: '/404', + path: '404', component: () => import('@/views/error-page/404.vue'), meta: { hidden: true } }