mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 10:56:47 +08:00
修改考试的bug
This commit is contained in:
@@ -179,6 +179,7 @@
|
|||||||
//console.log(this.paper.items);
|
//console.log(this.paper.items);
|
||||||
let totalScore=0;
|
let totalScore=0;
|
||||||
this.paper.items.forEach(item => {
|
this.paper.items.forEach(item => {
|
||||||
|
item.score=parseInt(item.score);
|
||||||
totalScore+=item.score;//加到总分中
|
totalScore+=item.score;//加到总分中
|
||||||
if(item.type != 102){
|
if(item.type != 102){
|
||||||
item.userAnswer='';
|
item.userAnswer='';
|
||||||
|
|||||||
Reference in New Issue
Block a user