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

fix:修改bug

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