提交 1d76f11a authored 作者: lihuihui's avatar lihuihui

updata

上级 1d6f230e
......@@ -89,7 +89,7 @@
<div class="txt">{{ subPopText }}</div>
<div class="btn_box">
<div class="btn" @click="isExamSubPop = false">继续做题</div>
<div class="btn btn2" @click="goExamResult;examSubmit(1, true)">交卷</div>
<div class="btn btn2" @click="examSubmit(1, true)">交卷</div>
</div>
</div>
</div>
......@@ -98,7 +98,7 @@
<div class="tit">提示</div>
<img src="../assets/images/time.png" alt="">
<div class="txt">考试时间到!答题结束</div>
<div class="btn" @click="submitShowPop;goExamResult ;examSubmit(1, true)">确定</div>
<div class="btn" @click="submitShowPop">确定</div>
</div>
</div>
</div>
......@@ -544,13 +544,13 @@ export default {
this.cardChange(this.$route.query.id)
}, 100)
this.currentNum === this.questionsData.sheet.question_count ? this.nextBtnShow = false : this.nextBtnShow = true
if (res.answers !== null) {
if (res.answers.answerPage !== undefined) {
setTimeout(() => {
this.currentNum = res.answers.answerPage + 1
this.swiper.slideTo(res.answers.answerPage, 0, false)
}, 100)
}
if (res.answers !== null) {
const datas = res.answers
if (datas.length === 0) {
this.requestData = {}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论