mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-08 02:16:43 +08:00
Merge branch 'zcwy_0723_hotforum' into dev0515
This commit is contained in:
@@ -339,8 +339,8 @@ export default {
|
||||
this.timer=setInterval(this.changeTimer,60000);
|
||||
this.testStart=true;
|
||||
}else{
|
||||
let paper= res.result;
|
||||
paper.forEach(item=>{
|
||||
let paper= {items:res.result};
|
||||
paper.items.forEach(item=>{
|
||||
if(item.type==101){
|
||||
item.userAnswer='';
|
||||
}else if(item.type==102){
|
||||
@@ -352,10 +352,10 @@ export default {
|
||||
opt.checked=false;
|
||||
})
|
||||
});
|
||||
this.total=paper.length;
|
||||
this.total=paper.items.length;
|
||||
this.paper =paper;
|
||||
|
||||
this.curItem=paper[this.curIndex];
|
||||
this.curItem=paper.items[this.curIndex];
|
||||
this.startTime=new Date();//记录开始时间
|
||||
this.timerValue=this.info.testDuration;
|
||||
this.timer=setInterval(this.changeTimer,60000);
|
||||
|
||||
Reference in New Issue
Block a user