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

mobileLive reanme mobile

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