提交 2f647ce4 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 a821cfca
...@@ -375,7 +375,7 @@ export default { ...@@ -375,7 +375,7 @@ export default {
) { ) {
this.submitExam({ submitType: false, currentTarget: { dataset: {} } }) this.submitExam({ submitType: false, currentTarget: { dataset: {} } })
} }
}, 3000) }, 10000)
}, },
/* 定时调用 - 考试状态 */ /* 定时调用 - 考试状态 */
loadExamStatus() { loadExamStatus() {
...@@ -448,7 +448,7 @@ export default { ...@@ -448,7 +448,7 @@ export default {
} else { } else {
this.status.isStart = _data.type !== 3 this.status.isStart = _data.type !== 3
this.exam.title = _data.title this.exam.title = _data.title
this.exam.type = _data.type this.$set(this.exam, 'type', _data.type)
this.exam.score = _data.score this.exam.score = _data.score
this.exam.submitted_time = _data.submitted_time this.exam.submitted_time = _data.submitted_time
this.exam.isPublished = _data.isPublished this.exam.isPublished = _data.isPublished
......
...@@ -191,7 +191,6 @@ const A_Z = (function() { ...@@ -191,7 +191,6 @@ const A_Z = (function() {
return result return result
})() })()
var getLetter = val => { var getLetter = val => {
console.log(val)
return A_Z[val] return A_Z[val]
} }
...@@ -326,7 +325,7 @@ export default { ...@@ -326,7 +325,7 @@ export default {
) { ) {
this.submitExam({ submitType: false, currentTarget: { dataset: {} } }) this.submitExam({ submitType: false, currentTarget: { dataset: {} } })
} }
}, 3000) }, 10000)
}, },
/* 定时调用 - 考试状态 */ /* 定时调用 - 考试状态 */
loadExamStatus() { loadExamStatus() {
...@@ -405,7 +404,7 @@ export default { ...@@ -405,7 +404,7 @@ export default {
} else { } else {
// this.exam.id = _data.id // this.exam.id = _data.id
this.exam.title = _data.title this.exam.title = _data.title
this.exam.type = _data.type this.$set(this.exam, 'type', _data.type)
this.exam.score = _data.score this.exam.score = _data.score
this.exam.submitted_time = _data.submitted_time this.exam.submitted_time = _data.submitted_time
this.exam.isPublished = _data.isPublished this.exam.isPublished = _data.isPublished
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论