From 610714fb4f2bfe8285bf1c68406a066b8c78640e Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Fri, 05 Jul 2024 15:19:48 +0800
Subject: [PATCH] 提交
---
src/router/index.js | 34 +++++++++++++++++++++++++++-------
1 files changed, 27 insertions(+), 7 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 20f9d8f..dd3cb3e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -91,7 +91,7 @@
]
},
{
- path: '/onlineEducation',
+ path: '/courseManage',
component: Layout,
redirect: '/onlineEducation/courseManage',
meta: { title: '课程管理'},
@@ -111,18 +111,38 @@
]
},
{
- path: '/question',
+ path: '/questionBankManagement',
component: Layout,
- redirect: '/question',
+ redirect: '/onlineEducation/questionBankManagement',
+ meta: { title: '题库题目管理'},
children: [
{
- path: '/question',
+ path: 'questionBank',
component: () => import('@/views/onlineEducation/questionBankManagement/index.vue'),
- name: 'Question',
- meta: { title: '题库管理',icon: 'form', affix: true }
- }
+ name: 'questionBank',
+ meta: { title: '题库列表',icon: 'form', affix: true }
+ },
+ {
+ path: 'question',
+ component: () => import('@/views/onlineEducation/questionBankManagement/questionManage/index.vue'),
+ name: 'question',
+ meta: { title: '题目管理',icon: 'form', affix: true }
+ },
]
},
+ // {
+ // path: '/question',
+ // component: Layout,
+ // redirect: '/question',
+ // children: [
+ // {
+ // path: '/question',
+ // component: () => import('@/views/onlineEducation/questionBankManagement/index.vue'),
+ // name: 'Question',
+ // meta: { title: '题库管理',icon: 'form', affix: true }
+ // }
+ // ]
+ // },
{
path: '/class',
component: Layout,
--
Gitblit v1.9.2