| | |
| | | // 公共路由
|
| | | export const constantRoutes = [
|
| | | {
|
| | | path: '/redirect',
|
| | | component: Layout,
|
| | | hidden: true,
|
| | | children: [
|
| | | {
|
| | | path: '/redirect/:path(.*)',
|
| | | component: () => import('@/views/redirect')
|
| | | }
|
| | | ]
|
| | | },
|
| | | {
|
| | | path: '/login',
|
| | | component: () => import('@/views/login'),
|
| | | hidden: true
|
| | |
| | | ]
|
| | | },
|
| | | {
|
| | | path: '/job',
|
| | | component: Layout,
|
| | | hidden: true,
|
| | | children: [
|
| | | {
|
| | | path: 'log',
|
| | | component: () => import('@/views/monitor/job/log'),
|
| | | name: 'JobLog',
|
| | | meta: { title: '调度日志' }
|
| | | }
|
| | | ]
|
| | | },
|
| | | {
|
| | | path: '/gen',
|
| | | component: Layout,
|
| | | hidden: true,
|
| | |
| | | meta: { title: '修改生成配置' }
|
| | | }
|
| | | ]
|
| | | },
|
| | | { path: '*', redirect: '/404', hidden: true }
|
| | | }
|
| | | ]
|
| | |
|
| | | export default new Router({
|