mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
考试自由切换
This commit is contained in:
@@ -668,26 +668,26 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if(this.curItem.userAnswer=='undefined' || this.curItem.userAnswer==''){
|
||||
return;
|
||||
}
|
||||
// if(this.curItem.userAnswer=='undefined' || this.curItem.userAnswer==''){
|
||||
// return;
|
||||
// }
|
||||
|
||||
if(this.curItem.type==3){
|
||||
//console.log(this.curItem.userAnswer,'判断题的值');
|
||||
if(this.curItem.userAnswer=='true' || this.curItem.userAnswer=='false'){
|
||||
// if(this.curItem.userAnswer=='true' || this.curItem.userAnswer=='false'){
|
||||
this.curIndex++;
|
||||
this.curItem = this.paper[this.curIndex];
|
||||
//console.log(this.curItem,'切换后2');
|
||||
this.updateAnswer();
|
||||
}
|
||||
// }
|
||||
}else{
|
||||
//检查当前的是否已选答案
|
||||
if(this.curItem.userAnswer){
|
||||
// if(this.curItem.userAnswer){
|
||||
this.curIndex++;
|
||||
this.curItem = this.paper[this.curIndex];
|
||||
//console.log(this.curItem,'切换后2');
|
||||
this.updateAnswer();
|
||||
}
|
||||
// }
|
||||
}
|
||||
//console.log(this.curItem,'this.curItem');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user