产品分化调整
This commit is contained in:
parent
622ba7b5f2
commit
e2ee048f56
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user