1eb36385 by 任超

style;路由

1 parent aa08c8f7
......@@ -21,9 +21,18 @@ export const constantRoutes = [
]
},
{
path: '/404',
path: '/',
component: Layout,
meta: { title: '404' },
hidden: true,
children: [
{
path: '404',
component: () => import('@/views/error-page/404'),
hidden: true
name: '404',
meta: { title: '404' }
}
]
},
// 业务流程框架
{
......@@ -43,8 +52,18 @@ export const constantRoutes = [
},
{
path: '*',
component: Layout,
meta: { title: '404' },
redirect: '/404',
hidden: true,
children: [
{
path: '404',
component: () => import('@/views/error-page/404'),
hidden: true
name: '404',
meta: { title: '404' }
}
]
},
]
/**
......