产品分化调整

This commit is contained in:
fan 2019-09-23 18:06:29 +08:00
parent 622ba7b5f2
commit e2ee048f56

View File

@ -344,21 +344,21 @@ export const asyncRouter = [
{
path: '/',
component: Layout,
redirect: '/dashboard',
redirect: '/trainingPlatform',
hidden: true,
meta: {
roles: [admin, user]
},
children: [
{
path: 'dashboard',
component: Dashboard,
meta: {
i18n: 'router.homePage',
icon: 'dashboard'
}
}
]
// children: [
// {
// path: 'dashboard',
// component: Dashboard,
// meta: {
// i18n: 'router.homePage',
// icon: 'dashboard'
// }
// }
// ]
},
{
path: '/design/home',
@ -602,14 +602,6 @@ export const asyncRouter = [
path: 'home',
component: TeachHome
},
// {
// // 课程详情
// path: 'detail/:lessonId',
// component: TeachDetail,
// meta: {
// },
// hidden: true
// },
{
// 实训详情
path: 'practical/:trainingId/:lessonId',
@ -704,15 +696,14 @@ export const asyncRouter = [
redirect: '/trainingPlatform/home',
component: TrainingPlatform,
meta: {
i18n: 'router.trainingPlatform'
},
children: [
{
path: 'home',
component: TrainingPlatformHome,
meta: {
i18n: 'router.trainingPlatform'
}
},
hidden: true
},
{
path: 'detail/:mapId/:prodId',