diff --git a/src/components/Home.vue b/src/components/Home.vue index a7ae97549e09a3fb9137be569eb8ad34694928e2..fdfece13d3c8fab522f239e2469adc85fc1b2286 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -86,6 +86,11 @@ export default { "path": "/createExam", "title": "试卷创编" }, + { + "id": 203, + "path": "/publishExam", + "title": "试卷发布" + }, ], "title": "试卷管理" diff --git a/src/router/index.js b/src/router/index.js index 1fed76258b9d2defb036b14da68f8652d69d807c..1e451a1bf87b6400b17b264d8aecb6a3219c1897 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -7,6 +7,9 @@ import Welcome from '../components/Welcome.vue' import User from '../components/admin/User.vue' import examList from '../components/exam/examList.vue' import editExam from '../components/exam/editExam' +import publishExam from '../components/exam/publishExam' + + import success from '../components/Success.vue' import correctList from '../components/solution/correctList.vue' import readed from'../components/solution/readed.vue' @@ -49,7 +52,9 @@ const routes = [ { path:'/file', component: file}, { path:'/essayProblem', component: essayProblem}, { path:'/judgmentProblem', component: judgmentProblem}, - { path:'/updateExam', component: updateExam} + { path:'/updateExam', component: updateExam}, + { path:'/publishExam', component: publishExam} + ], }