mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 19:06:46 +08:00
移动端考试未随机修改
This commit is contained in:
@@ -83,6 +83,10 @@
|
||||
scoreShow:false,
|
||||
lastScore:0,
|
||||
timerValue:0,
|
||||
examPaper:{
|
||||
json:{},//试题的json格式
|
||||
items:[],//试题内容
|
||||
},
|
||||
noAnswers:[] //有未答完的试题
|
||||
}
|
||||
},
|
||||
@@ -117,10 +121,12 @@
|
||||
// apiExamPaper.getPaperContent(this.info.paperId).then(rs=>{
|
||||
apiExamPaper.getPcPaperContent(this.info.id).then(rs=>{
|
||||
if(rs.status==200){
|
||||
//console.log(rs.result)
|
||||
let paperItems=JSON.parse(rs.result);
|
||||
//console.log(this.examPaper.json,'this.examPaper.json');
|
||||
let qitems=this.convertToItems(paperItems);
|
||||
//console.log(rs.result)// 判断 result 是否是字符串,如果是才 parse
|
||||
// let paperItems=JSON.parse(rs.result);
|
||||
|
||||
this.examPaper.json=rs.result;
|
||||
console.log(this.examPaper.json,'this.examPaper.json');
|
||||
let qitems=this.convertToItems(this.examPaper.json);
|
||||
this.paper ={items:qitems};
|
||||
this.total=qitems.length;
|
||||
this.curItem=qitems[this.curIndex];
|
||||
|
||||
2
unpackage/dist/build/h5/index.html
vendored
2
unpackage/dist/build/h5/index.html
vendored
@@ -19,4 +19,4 @@
|
||||
hm.src = "https://hm.baidu.com/hm.js?ea89f02dca369037a73c5e3907e2c14a";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7d4aca93.js></script><script src=/mobile/static/js/index.fc078fed.js></script></body></html>
|
||||
})();</script></head><body><div id=app></div><script src=/mobile/static/js/chunk-vendors.7d4aca93.js></script><script src=/mobile/static/js/index.ebc9c896.js></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/h5/static/js/pages-study-exam.9b9f52a2.js
vendored
Normal file
1
unpackage/dist/build/h5/static/js/pages-study-exam.9b9f52a2.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user