提交 551532fc authored 作者: lihuihui's avatar lihuihui

UPDATE

上级 20c36f12
...@@ -129,11 +129,6 @@ import * as apiMy from '@/api/my.js' ...@@ -129,11 +129,6 @@ import * as apiMy from '@/api/my.js'
import { Swiper, SwiperSlide, directive } from 'vue-awesome-swiper' import { Swiper, SwiperSlide, directive } from 'vue-awesome-swiper'
import { Toast, Dialog } from 'vant' import { Toast, Dialog } from 'vant'
export default { export default {
beforeDestroy() {
// window.localStorage.isCache = false
this.cacheRequest()
clearInterval(this.time.clearTime)
},
components: { components: {
Swiper, Swiper,
SwiperSlide, SwiperSlide,
...@@ -383,6 +378,9 @@ export default { ...@@ -383,6 +378,9 @@ export default {
} }
api.cacheExam(param).then(res => {}) api.cacheExam(param).then(res => {})
} }
},
beforeDestroy() {
clearInterval(this.time.clearTime)
} }
} }
</script> </script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论