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

updata

上级 addff3da
...@@ -603,13 +603,13 @@ export default { ...@@ -603,13 +603,13 @@ export default {
}, 100) }, 100)
this.currentNum === this.questionsData.sheet.question_count ? this.nextBtnShow = false : this.nextBtnShow = true this.currentNum === this.questionsData.sheet.question_count ? this.nextBtnShow = false : this.nextBtnShow = true
if (res.answers !== null) { if (res.answers !== null) {
// if (res.answers.answerPage !== undefined && this.$route.query.id === undefined && res.answers.answerPage !== this.questionsData.sheet.question_count) { if (res.answers.answerPage !== undefined && this.$route.query.id === undefined && res.answers.answerPage !== this.questionsData.sheet.question_count) {
setTimeout(() => { setTimeout(() => {
this.currentNum = res.answers.answerPage + 1 this.currentNum = res.answers.answerPage + 1
this.swiper.slideTo(res.answers.answerPage, 0, false) this.swiper.slideTo(res.answers.answerPage, 0, false)
this.currentNum === this.questionsData.sheet.question_count ? this.nextBtnShow = false : this.nextBtnShow = true this.currentNum === this.questionsData.sheet.question_count ? this.nextBtnShow = false : this.nextBtnShow = true
}, 100) }, 100)
// } }
const datas = res.answers const datas = res.answers
if (datas.length === 0) { if (datas.length === 0) {
this.requestData = {} this.requestData = {}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论