按钮bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user