From 03de4e4f7e6a739960027f2b65a9962f130294a2 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 15 Feb 2023 10:20:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/qujing/AppLegalLearning/testForm.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/project/qujing/AppLegalLearning/testForm.vue b/src/project/qujing/AppLegalLearning/testForm.vue index db104fc..4eda307 100644 --- a/src/project/qujing/AppLegalLearning/testForm.vue +++ b/src/project/qujing/AppLegalLearning/testForm.vue @@ -109,10 +109,10 @@ export default { }, // 下一题 nextTopic() { - this.activeIndex ++; this.clickIndex = '' this.showAnalysis = false + this.showNext = false }, // 确定 confirm() { @@ -137,12 +137,12 @@ export default { }, // 提交 submit() { - // 分数段 - // switch(this.assessments) { - // case 1: console.log(1); - // break; - // case 2: - // } + // 分数区间 + switch(this.assessments) { + case this.assessments[0].: console.log(1); + break; + case 2: + } // 用时 const endTime = new Date().getTime() this.studyDuration = Math.ceil((endTime - this.nowTime) / 1000 / 60)