Commit 574520f9 authored by Facius's avatar Facius

improvement: 已做题数计算修改

parent a37cb701
......@@ -147,10 +147,13 @@ export default {
]
},
finishCount() {
return this.questionList.reduce((accumulator, currentValue) => {
if (currentValue.submitStatus) accumulator++
return accumulator
}, 0)
this.questionList[this.questionWarehouseId].reduce(
(accumulator, currentValue) => {
if (currentValue.submitStatus) accumulator++
return accumulator
},
0
)
},
examText() {
return this.info.cardId ? '/' + this.info.totalExam : '题库进阶练习'
......
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