前端初始化
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
const routes = [
|
||||
// 报告管理
|
||||
{
|
||||
path: '/report',
|
||||
name: 'Layout',
|
||||
component: () => import('../../views/Layout.vue'),
|
||||
children: [
|
||||
// 报告列表
|
||||
{
|
||||
path: 'list',
|
||||
name: 'ReportList',
|
||||
component: () => import('../../views/Report/ReportList.vue'),
|
||||
meta: {
|
||||
crumb: ['报告列表'],
|
||||
}
|
||||
},
|
||||
// 报告详情
|
||||
{
|
||||
path: 'detail',
|
||||
name: 'ReportDetail',
|
||||
component: () => import('../../views/Report/ReportDetail.vue'),
|
||||
meta: {
|
||||
crumb: ['报告详情'],
|
||||
}
|
||||
},
|
||||
// 报告管理
|
||||
{
|
||||
path: '/report/manager',
|
||||
name: 'ReportManager',
|
||||
component: () => import('../../views/Report/ReportManager.vue'),
|
||||
meta: {
|
||||
crumb: ['报告管理'],
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user