调整试卷加载

This commit is contained in:
zyy 2020-05-27 19:02:34 +08:00
parent 07679a37e7
commit 4fe1330990

View File

@ -176,7 +176,9 @@ export default {
this.$messageBox('试卷还没被加载'); this.$messageBox('试卷还没被加载');
} }
}).catch(()=>{}); }).catch(()=>{
this.$messageBox('试卷还没被加载');
});
} else { } else {
getPracticalQuestion(this.$route.query.raceId).then((responese)=>{ getPracticalQuestion(this.$route.query.raceId).then((responese)=>{
if (responese.data) { if (responese.data) {
@ -187,6 +189,8 @@ export default {
} else { } else {
this.$messageBox('试卷还没被加载'); this.$messageBox('试卷还没被加载');
} }
}).catch(()=>{
this.$messageBox('试卷还没被加载');
}); });
} }
} }