From 39e1a221e37a0bc53cd9c1e424e9eececcfd10f9 Mon Sep 17 00:00:00 2001 From: cgd_mac <349008059@qq.com> Date: Wed, 23 Feb 2022 14:59:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BD=9C=E4=B8=9A=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/myexamDetail/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/myexamDetail/index.vue b/src/views/myexamDetail/index.vue index 3e11657..4e37b91 100644 --- a/src/views/myexamDetail/index.vue +++ b/src/views/myexamDetail/index.vue @@ -83,10 +83,10 @@ export default { // 提交 handlerSubmit (result) { const { type } = this.query - if (type === 'practice' || type === 'operation') { + if (type === 'practice') { this.submitPractice(result) } - if (type === 'exam' || type === 'test') { + if (type === 'exam' || type === 'test' || type === 'operation') { this.submitExam(result) } // if (type === 'operation') { @@ -166,7 +166,7 @@ export default { courseId: query.courseId, answerTime: 0, type: query.practiceType, - examType: query.type === 'test' ? 1 : 2, + examType: query.type === 'test' ? 1 : (query.type === 'operation' ? 3 : 2), questionList: this.formatSubmit(result) } reqExamSubmit(params).then(() => {