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

update:修改缓存时间

上级 be746725
......@@ -59,7 +59,7 @@ export default {
clearInterval(this.cacheAnswerTime)
this.cacheAnswerTime = setInterval(() => {
this.submitExam(0)
}, 3000)
}, 15000)
} else {
this.status = 2
this.hasMark = false
......
......@@ -53,7 +53,7 @@ export default {
this.hasMark = false
} else {
clearInterval(this.cacheAnswerTime)
this.cacheAnswerTime = setInterval(this.handleCache, 3000)
this.cacheAnswerTime = setInterval(this.handleCache, 15000)
}
})
},
......
......@@ -4,7 +4,7 @@
<div class="title-type">{{ questionTypeText[data.question_type] }}</div>
<template v-for="pItem in data.list">
<question-list-item
v-for="(item, indexs) in pItem"
v-for="item in pItem"
:data="item"
:question="data"
:key="item.id"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论