Commit 22c05cde authored by Damon's avatar Damon

fix: 分数修正

parent 8fae4045
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
return this.info.score >= this.info.pageTotalPoint return this.info.score >= this.info.pageTotalPoint
}, },
isPass() { isPass() {
return this.info.score >= this.info?.echoMap?.paperId?.passPoint || 80 return this.info.score >= this.info.passPoint
}, },
resultText() { resultText() {
return this.isPass ? '合格' : '不合格' return this.isPass ? '合格' : '不合格'
...@@ -234,6 +234,7 @@ export default { ...@@ -234,6 +234,7 @@ export default {
pageTotalPoint: Number(res.pageTotalPoint) || 0, pageTotalPoint: Number(res.pageTotalPoint) || 0,
category: echoMap.questionWarehouseId.title, category: echoMap.questionWarehouseId.title,
type: '模拟考试', type: '模拟考试',
passPoint: echoMap?.paperId?.passPoint || 80
} }
} }
}) })
......
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