From 21e75c53d65b24d78c9cb13624b2b4cb58022a31 Mon Sep 17 00:00:00 2001 From: JayChou <2064936853@qq.com> Date: Wed, 28 Aug 2024 16:52:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/routers copy.ts | 12 +-------- src/router/routers.ts | 52 +++++++++++++++++++------------------- 2 files changed, 27 insertions(+), 37 deletions(-) diff --git a/src/router/routers copy.ts b/src/router/routers copy.ts index a515fc0..d1290e0 100644 --- a/src/router/routers copy.ts +++ b/src/router/routers copy.ts @@ -56,16 +56,6 @@ export const constantRoute: any = [ icon: 'Notebook', }, }, - { - path: '/curriculumCenter/courseDetails', - component: () => import('@/views/course/courseDetails.vue'), - name: 'CourseDetails', - meta: { - title: '课程详情', - hidden: false, - icon: 'Notebook', - }, - }, { path: '/curriculumCenter/CourseObjectives', component: () => import('@/views/course/CourseObjectives.vue'), @@ -167,7 +157,7 @@ export const constantRoute: any = [ name: 'CourseDetails', meta: { title: '课程详情', - hidden: false, + hidden: true, icon: 'Notebook', }, }, diff --git a/src/router/routers.ts b/src/router/routers.ts index 206e54e..2092ea9 100644 --- a/src/router/routers.ts +++ b/src/router/routers.ts @@ -46,7 +46,7 @@ export const constantRoute: any = [ component: () => import('@/views/course/basicCourseInformation.vue'), name: 'BasicCourseInformation', meta: { - title: '课程基本信息', + title: '我的课程', hidden: false, icon: 'Notebook', }, @@ -57,7 +57,7 @@ export const constantRoute: any = [ name: 'CourseDetails', meta: { title: '课程详情', - hidden: false, + hidden: true, icon: 'Notebook', }, }, @@ -67,7 +67,7 @@ export const constantRoute: any = [ name: 'CourseObjectives', meta: { title: '课程目标', - hidden: false, + hidden: true, icon: 'Notebook', }, }, @@ -81,32 +81,32 @@ export const constantRoute: any = [ icon: 'Notebook', }, }, - { - path: '/curriculumCenter/knowledgePoints', - component: () => import('@/views/course/knowledgePoints.vue'), - name: 'KnowledgePoints', // name 要与权限一致 - meta: { - title: '知识点', - hidden: false, - icon: 'Notebook', - }, - }, - { - path: '/curriculumCenter/curriculumMap', - component: () => import('@/views/course/curriculumMap.vue'), - name: 'CurriculumMap', // name 要与权限一致 - meta: { - title: '课程图谱', - hidden: false, - icon: 'Notebook', - }, - }, + // { + // path: '/curriculumCenter/knowledgePoints', + // component: () => import('@/views/course/knowledgePoints.vue'), + // name: 'KnowledgePoints', // name 要与权限一致 + // meta: { + // title: '知识点', + // hidden: false, + // icon: 'Notebook', + // }, + // }, + // { + // path: '/curriculumCenter/curriculumMap', + // component: () => import('@/views/course/curriculumMap.vue'), + // name: 'CurriculumMap', // name 要与权限一致 + // meta: { + // title: '课程图谱', + // hidden: false, + // icon: 'Notebook', + // }, + // }, { path: '/studentManagement/student', component: () => import('@/views/student/index.vue'), name: 'Student', meta: { - title: '学生', + title: '学生管理', hidden: false, icon: 'User', }, @@ -127,7 +127,7 @@ export const constantRoute: any = [ name: 'SendMessage', meta: { title: '个人发出', - hidden: false, + hidden: true, icon: '', }, }, @@ -182,7 +182,7 @@ export const constantRoute: any = [ name: 'NewsContentDetails', meta: { title: '栏目添加新闻信息', - hidden: true, + hidden: false, icon: 'Promotion', }, },