产品分化调整

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