mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
Merge branch 'zcwy_0723_hotforum' into dev0515
This commit is contained in:
@@ -327,6 +327,7 @@ export default {
|
||||
},
|
||||
startTest(){
|
||||
apiExamPaper.newPaperContent(this.info.id).then(res=>{
|
||||
console.log(res,'res')
|
||||
if(res.status=200){
|
||||
if(this.info.paperType==2){
|
||||
this.examPaper.json=res.result;
|
||||
@@ -364,6 +365,9 @@ export default {
|
||||
}else{
|
||||
this.$message.error('加载试卷内容失败,请与管理员联系,试卷是否已删除');
|
||||
}
|
||||
}).catch(err => {
|
||||
console.log(err,'err')
|
||||
this.$message.error(err.error)
|
||||
})
|
||||
// if(this.info.paperType==2){
|
||||
// apiExamPaper.getPaperContent(this.info.paperId).then(rs=>{
|
||||
|
||||
Reference in New Issue
Block a user