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

修改错误集缓存选项

上级 c6bf495b
......@@ -127,7 +127,8 @@ export default {
path: '/my/questionsDetails',
query: {
page: parseInt(num) === 0 ? 1 : num,
type: 2
type: 2,
questionType: this.screen.screenVal
}
})
},
......@@ -241,6 +242,7 @@ export default {
page: 1,
page_size: 50
}
this.screen.screenVal = n[index]
this.screen.checkedText = value
this.clear()
this.screen.isShow = false
......
......@@ -102,6 +102,9 @@ import { Swiper, SwiperSlide, directive } from 'vue-awesome-swiper'
// import card from '../../components/answerCard.vue'
import 'swiper/css/swiper.css'
export default {
beforeDestroy() {
clearInterval(this.cacheTime)
},
metaInfo: {
title: '已做试题'
},
......@@ -223,6 +226,8 @@ export default {
},
// 跳转答题卡
goAnswerCard() {
this.cacheQuestion()
clearInterval(this.cacheTime)
this.$router.push({
name: 'answerCard',
query: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论