diff --git a/PC/InterFace.Dash/src/router/index.js b/PC/InterFace.Dash/src/router/index.js index d566d78..41aee17 100644 --- a/PC/InterFace.Dash/src/router/index.js +++ b/PC/InterFace.Dash/src/router/index.js @@ -45,6 +45,11 @@ export let constantRoutes = [ component: () => import('@/views/redirect/index') }] }, + { + path: '*', + redirect: '/404', + hidden: true + }, { path: '/login', component: () => import('@/views/login/index'), @@ -145,11 +150,11 @@ export let constantRoutes = [ export let asyncRoutes = [ /** when your routing map is too long, you can split it into small modules **/ // 404 page must be placed at the end !!! - { - path: '*', - redirect: '/404', - hidden: true - } + // { + // path: '*', + // redirect: '/404', + // hidden: true + // } ] const createRouter = () => new Router({