提交 230fac85 authored 作者: lihuihui's avatar lihuihui

updata

上级 abe34877
...@@ -310,7 +310,6 @@ export default { ...@@ -310,7 +310,6 @@ export default {
} }
}, },
showCard() { showCard() {
console.log(this.swiper.activeIndex, this.questionsData.sheet.question_count)
if (this.swiper.activeIndex !== this.questionsData.sheet.question_count) { if (this.swiper.activeIndex !== this.questionsData.sheet.question_count) {
this.swiperSign = this.swiper.activeIndex this.swiperSign = this.swiper.activeIndex
} else { } else {
...@@ -363,6 +362,7 @@ export default { ...@@ -363,6 +362,7 @@ export default {
// 时间倒计时 // 时间倒计时
setClock(time) { setClock(time) {
let sec = parseInt(time) let sec = parseInt(time)
clearInterval(this.clockCount)
this.clockCount = setInterval(() => { this.clockCount = setInterval(() => {
if (this.requestParam.course_id || this.requestParam.tag_id) { if (this.requestParam.course_id || this.requestParam.tag_id) {
this.remainingTime = this.secondToDate(sec) this.remainingTime = this.secondToDate(sec)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论