按钮bug

This commit is contained in:
shijingjing
2023-02-15 10:20:16 +08:00
parent 48003ffaa3
commit 03de4e4f7e

View File

@@ -109,10 +109,10 @@ export default {
}, },
// 下一题 // 下一题
nextTopic() { nextTopic() {
this.activeIndex ++; this.activeIndex ++;
this.clickIndex = '' this.clickIndex = ''
this.showAnalysis = false this.showAnalysis = false
this.showNext = false
}, },
// 确定 // 确定
confirm() { confirm() {
@@ -137,12 +137,12 @@ export default {
}, },
// 提交 // 提交
submit() { submit() {
// 分数 // 分数区间
// switch(this.assessments) { switch(this.assessments) {
// case 1: console.log(1); case this.assessments[0].: console.log(1);
// break; break;
// case 2: case 2:
// } }
// 用时 // 用时
const endTime = new Date().getTime() const endTime = new Date().getTime()
this.studyDuration = Math.ceil((endTime - this.nowTime) / 1000 / 60) this.studyDuration = Math.ceil((endTime - this.nowTime) / 1000 / 60)