修改考试的bug

This commit is contained in:
daihh
2022-12-12 11:20:46 +08:00
parent 7a382c7bc4
commit 0d6bc355ae

View File

@@ -179,6 +179,7 @@
//console.log(this.paper.items);
let totalScore=0;
this.paper.items.forEach(item => {
item.score=parseInt(item.score);
totalScore+=item.score;//加到总分中
if(item.type != 102){
item.userAnswer='';