Commit 2f925d88 authored by 刘帅阳's avatar 刘帅阳

修改

parent 66482dcf
...@@ -140,6 +140,8 @@ import USwiper from "../../uview-ui/components/u-swiper/u-swiper.vue"; ...@@ -140,6 +140,8 @@ import USwiper from "../../uview-ui/components/u-swiper/u-swiper.vue";
}, },
methods: { methods: {
init() { init() {
this.videoPage = 1
this.articlePage = 1
this.queryArticle(); this.queryArticle();
this.queryVideo() this.queryVideo()
this.queryTopic(); this.queryTopic();
......
...@@ -72,6 +72,10 @@ ...@@ -72,6 +72,10 @@
this.noToken() this.noToken()
}, },
onShow() { onShow() {
this.hotList = []
this.videoList = []
this.articlePage = 1
this.videoPage = 1
this.init() this.init()
this.queryVideo() this.queryVideo()
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment