From 6968050c6a2fa43148916049420a03590afda447 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 19 May 2023 08:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B2=E9=9D=96=E9=A6=96=E9=A1=B5=E5=AD=A6?= =?UTF-8?q?=E4=B9=A0=E8=AF=BE=E5=A0=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/qujing/AppHome/AppHome.vue | 4 ++-- .../qujing/AppLegalLearning/components/OnlineClass.vue | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/project/qujing/AppHome/AppHome.vue b/src/project/qujing/AppHome/AppHome.vue index aa27c7b..b83fbc6 100644 --- a/src/project/qujing/AppHome/AppHome.vue +++ b/src/project/qujing/AppHome/AppHome.vue @@ -125,8 +125,8 @@ export default { this.getSwiperList(); this.getName(); this.getGrids(); - this.getActive(); - this.getNotice(); + // this.getActive(); + // this.getNotice(); }) }, methods: { diff --git a/src/project/qujing/AppLegalLearning/components/OnlineClass.vue b/src/project/qujing/AppLegalLearning/components/OnlineClass.vue index a799b60..d4b3017 100644 --- a/src/project/qujing/AppLegalLearning/components/OnlineClass.vue +++ b/src/project/qujing/AppLegalLearning/components/OnlineClass.vue @@ -44,13 +44,13 @@ export default { this.$instance.post(`/app/appcourseinfo/listByApplet`, null, { params: { current: this.current, - size: 3000, + size: 10, title: this.title } }).then(res=> { if(res?.data) { - // this.classList = this.current==1? res.data.records: [...this.classList,...res.data.records] - this.classList = res.data.records + this.classList = this.current==1? res.data.records: [...this.classList,...res.data.records] + // this.classList = res.data.records } }) }, @@ -59,7 +59,8 @@ export default { }, }, onReachBottom() { - + this.current ++ + this.getList() }, }