|
|
@ -80,41 +80,6 @@ export const constantRoutes = [ |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/nested', |
|
|
|
component: Layout, |
|
|
|
redirect: '/nested/menu1', |
|
|
|
name: '剧本管理', |
|
|
|
meta: { |
|
|
|
title: '剧本管理', |
|
|
|
icon: 'nested' |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: 'menu1', |
|
|
|
component: () => import('@/views/nested/menu1/index'), // Parent router-view
|
|
|
|
name: 'Menu1', |
|
|
|
meta: { title: '剧本列表' } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: 'menu2', |
|
|
|
component: () => import('@/views/nested/menu2/index'), |
|
|
|
name: 'Menu2', |
|
|
|
meta: { title: 'Tips列表' } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/user', |
|
|
|
component: Layout, |
|
|
|
redirect: '/user', |
|
|
|
children: [{ |
|
|
|
path: 'user', |
|
|
|
name: 'user', |
|
|
|
component: () => import('@/views/user/index'), |
|
|
|
meta: { title: '用户管理' } |
|
|
|
}] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/dict', |
|
|
|
component: Layout, |
|
|
|