Commit cbcb7d58 authored by fanlin@91isoft.com's avatar fanlin@91isoft.com

考试系统只看错题bug判断卷子是否是错的

parent 17d3e2ce
...@@ -333,7 +333,6 @@ export default { ...@@ -333,7 +333,6 @@ export default {
pid: this.item.e_pid pid: this.item.e_pid
}).then(result => { }).then(result => {
const res = result const res = result
console.log(res)
this.detailObj = res this.detailObj = res
this.title = this.item.p_name this.title = this.item.p_name
console.log(this.title, '55555555555555') console.log(this.title, '55555555555555')
...@@ -375,7 +374,7 @@ export default { ...@@ -375,7 +374,7 @@ export default {
} }
// 只看错题 // 只看错题
if (this.checked) { if (this.checked) {
if (this.detailObj.data.check[Qid] <= 3) { if (this.detailObj.data.check[Qid] !== item.score) {
this.paper.push({ this.paper.push({
type: item.type, type: item.type,
id: item.id, id: item.id,
...@@ -407,7 +406,6 @@ export default { ...@@ -407,7 +406,6 @@ export default {
} }
}) })
}) })
console.log(this.paper, 'OIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOoo')
// this.subjectContent() // this.subjectContent()
}, },
/** /**
......
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