diff --git a/pages/index/index.vue b/pages/index/index.vue index 2ae4672..035018b 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -833,9 +833,10 @@ // #ifdef MP-TOUTIAO data.dyShow = 1 // #endif - + console.log(this.page); if ($cache_index.courseList && this.page == 1) { this.courseList = $cache_index.courseList + this.pages = $cache_index.pages uni.stopPullDownRefresh() return } @@ -843,6 +844,7 @@ this.$Request.getT('/app/course/selectCourse', data).then(res => { if (res.code == 0) { this.pages = res.data.totalPage + $cache_index.set('pages', this.pages) if (this.page < this.pages) { this.status = 'loadmore' } else {