提交 dec7d366 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 ee4f0b3c
......@@ -335,7 +335,7 @@ export default {
const params = { answers: JSON.stringify(answers), type: 0 }
// 请求接口
this.handleSubmitRequest(params)
}, 3000)
}, 1000)
},
// 处理请求接口答案数据
handleSubmitData() {
......@@ -413,10 +413,10 @@ export default {
this.countdownTimer && clearInterval(this.countdownTimer)
this.countdownTimer = setInterval(() => {
this.countdownDuration--
// if (this.countdownDuration <= 0) {
// this.getExam()
// this.clearTimer()
// }
if (this.countdownDuration <= 0) {
this.getExam()
this.clearTimer()
}
}, 1000)
}
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论