按钮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() {
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)