删除打印

This commit is contained in:
zhangsir
2024-10-09 11:20:15 +08:00
parent f27d82c536
commit ea910687f5

View File

@@ -327,8 +327,7 @@ export default {
},
startTest(){
apiExamPaper.newPaperContent(this.info.id).then(res=>{
console.log(res,'res')
if(res.status=200){
if(res.error == ''&&res.result != ''){
if(this.info.paperType==2){
this.examPaper.json=res.result;
let qitems=this.convertToItems(this.examPaper.json);
@@ -365,9 +364,6 @@ export default {
}else{
this.$message.error('加载试卷内容失败,请与管理员联系,试卷是否已删除');
}
}).catch(err => {
console.log(err.response,'err')
this.$message.error(err.error)
})
// if(this.info.paperType==2){
// apiExamPaper.getPaperContent(this.info.paperId).then(rs=>{