国赛提交试卷后初始化结果

This commit is contained in:
fan 2021-02-02 17:23:29 +08:00
parent ec32fb62ff
commit 8aaaf9f9df

View File

@ -295,6 +295,8 @@ export default {
this.loading = false;
this.isResult = true;
this.$message.success('提交成功');
this.resultScore = 0;
this.theoryExamWrongList = [];
res.data.forEach(item => {
this.resultScore += (item.score || 0);
if (item.answerOptionId && item.answerOptionId.length && !item.score) {