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

update:修改缓存时间

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