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

bug fixes

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