Commit a597b6ff authored by Damon's avatar Damon

fix: 移除错题

parent 15ea1c0a
...@@ -299,7 +299,7 @@ export default { ...@@ -299,7 +299,7 @@ export default {
// 列表总长度,一定要在第一次请求列表数据前明确该值 // 列表总长度,一定要在第一次请求列表数据前明确该值
// 否则无法知道下一页是否还有数据 // 否则无法知道下一页是否还有数据
let total = parseInt(res) || 0 let total = parseInt(res) || 0
if (total > 0) { // if (total > 0) {
// 考试 // 考试
if (this.type === 2) { if (this.type === 2) {
this.pageSize = this.totalPoint this.pageSize = this.totalPoint
...@@ -315,7 +315,7 @@ export default { ...@@ -315,7 +315,7 @@ export default {
let index = let index =
this.source === 1 ? this.lastIndex[this.questionWarehouseId] || 0 : 0 this.source === 1 ? this.lastIndex[this.questionWarehouseId] || 0 : 0
this.refresh(i ? i : index) this.refresh(i ? i : index)
} // }
}) })
}, },
// 切换 // 切换
......
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