提交 97c21ca8 authored 作者: 王鹏飞's avatar 王鹏飞

mobileLive reanme mobile

上级 bcd9f596
import viewerRoutes from '@/modules/viewer/routes.js'
export default [
{ path: '*', redirect: '/' },
{ path: '/', redirect: '/app/learn/course' },
{
path: '/login/index',
......@@ -263,11 +264,11 @@ export default [
}
]
},
/* mobileLive 移动端 */
/* mobile 移动端 */
{
path: '/mobile',
redirect: '/mobile/0/0/error/404',
component: () => import('@/pages/mobileLive/index.vue'),
component: () => import('@/pages/mobile/index.vue'),
props: true,
children: [
{
......@@ -277,18 +278,18 @@ export default [
{
path: 'list',
name: 'mobileIndex',
component: () => import('@/pages/mobileLive/list.vue'),
component: () => import('@/pages/mobile/list.vue'),
props: true
},
{
path: 'help/student',
name: 'studentHelp',
component: () => import('@/pages/mobileLive/studentHelp.vue')
component: () => import('@/pages/mobile/studentHelp.vue')
},
{
path: 'help/teacher',
name: 'teacherHelp',
component: () => import('@/pages/mobileLive/teacherHelp.vue')
component: () => import('@/pages/mobile/teacherHelp.vue')
}
]
},
......@@ -308,8 +309,6 @@ export default [
// },
// /* survey-phone 内未找到页面时 - 指向 */
// { path: '/survey-phone/*', redirect: '/learn-error/learn-error' },
/* 如果所有页面都没找到 - 指向 */
{ path: '*', component: () => import('@/components/errorPages/404.vue') },
// viewer module routes
...viewerRoutes
]
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论