Commit 47d85910 authored by Facius's avatar Facius

fix: 跳着做题

parent 9149bd88
...@@ -390,10 +390,11 @@ export default { ...@@ -390,10 +390,11 @@ export default {
return accumulator return accumulator
}, 0) }, 0)
if (count > 0) { if (count > 0) {
const noStart = this.list.filter((v) => !v.result).length // 未做题数
// 显示暂停弹窗 // 显示暂停弹窗
this.pauseData = { this.pauseData = {
answered: this.currentIndex, answered: this.list.length - noStart,
noStart: this.list.length - this.currentIndex noStart: noStart
} }
this.showPause = true this.showPause = true
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment