提交 bb002e61 authored 作者: lihuihui's avatar lihuihui

fix:修改bug

上级 4454eaac
...@@ -125,10 +125,10 @@ export default { ...@@ -125,10 +125,10 @@ export default {
this.curExamTitle = data.paper_title this.curExamTitle = data.paper_title
break break
case 102: case 102:
api.getExamList().then((res) => { api.getExamList().then(res => {
const findTimes = res.data.find(id => id.id === data.id).remaining_times_s const findTimes = res.data.find(id => id.id === data.id).remaining_times_s
if (findTimes < 5) { if (findTimes < 5) {
this.$alert('考试时间已到', { this.$alert('考试时间已到,系统已自动提交试卷', {
confirmButtonText: '查看结果', confirmButtonText: '查看结果',
callback: action => { callback: action => {
if (action === 'confirm') { if (action === 'confirm') {
......
...@@ -35,7 +35,9 @@ export default { ...@@ -35,7 +35,9 @@ export default {
}, },
totalScore: 100, totalScore: 100,
score: 0, score: 0,
datas: {}, datas: {
data: {}
},
status: 0, status: 0,
paperTimes: 0 paperTimes: 0
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论