This commit is contained in:
joshen
2025-01-18 00:23:45 +08:00
parent 5f9da5cf03
commit 5e7580a936
4 changed files with 4 additions and 4 deletions

View File

@@ -327,7 +327,7 @@ export default {
},
startTest(){
apiExamPaper.newPaperContent(this.info.id).then(res=>{
if(res.error == ''&&res.result != ''){
if(!res.error&&res.result != ''){
if(this.info.paperType==2){
this.examPaper.json=res.result;
let qitems=this.convertToItems(this.examPaper.json);