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

修改错误集缓存选项

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