save: 更新路由
This commit is contained in:
parent
4f90499ada
commit
027253f7b4
@ -10,6 +10,7 @@ import CourseExchanged from '@/views/CourseExchanged.vue'
|
|||||||
import CourseStudy from '@/views/CourseStudy.vue'
|
import CourseStudy from '@/views/CourseStudy.vue'
|
||||||
import Learning from '@/views/Learning.vue'
|
import Learning from '@/views/Learning.vue'
|
||||||
import Profile from '@/views/Profile.vue'
|
import Profile from '@/views/Profile.vue'
|
||||||
|
import ExamDetail from '@/views/ExamDetail.vue'
|
||||||
|
|
||||||
import LearningPaths from '@/views/LearningPaths.vue'
|
import LearningPaths from '@/views/LearningPaths.vue'
|
||||||
import Faculty from '@/views/Faculty.vue'
|
import Faculty from '@/views/Faculty.vue'
|
||||||
@ -448,6 +449,12 @@ const routes: RouteRecordRaw[] = [
|
|||||||
component: Profile,
|
component: Profile,
|
||||||
meta: { title: '个人中心', requiresAuth: true }
|
meta: { title: '个人中心', requiresAuth: true }
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/exam-detail/:id?',
|
||||||
|
name: 'ExamDetail',
|
||||||
|
component: ExamDetail,
|
||||||
|
meta: { title: '练习详情', requiresAuth: true }
|
||||||
|
},
|
||||||
|
|
||||||
// 其他功能页面
|
// 其他功能页面
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user