| | |
| | | // 公共路由
|
| | | 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: 'profile',
|
| | | component: () => import('@/views/system/user/profile/index'),
|
| | | name: '个人中心',
|
| | | name: 'Profile',
|
| | | meta: { title: '个人中心', icon: 'user' }
|
| | | }
|
| | | ]
|
| | |
| | | {
|
| | | path: 'type/data/:dictId(\\d+)',
|
| | | component: () => import('@/views/system/dict/data'),
|
| | | name: '字典数据',
|
| | | name: 'Data',
|
| | | meta: { title: '字典数据', icon: '' }
|
| | | }
|
| | | ]
|
| | | },
|
| | | {
|
| | | path: '/gen',
|
| | | component: Layout,
|
| | | hidden: true,
|
| | | children: [
|
| | | {
|
| | | path: 'edit',
|
| | | component: () => import('@/views/tool/gen/editTable'),
|
| | | name: 'GenEdit',
|
| | | meta: { title: '修改生成配置' }
|
| | | }
|
| | | ]
|
| | | }
|
| | | ]
|
| | |
|