From a0018dbe10a07024588fb5843eeac2431ff273b6 Mon Sep 17 00:00:00 2001 From: linfeng Date: Tue, 17 Oct 2023 10:34:42 +0800 Subject: [PATCH 1/2] update --- .../static/linfeng-community-uniapp-ky/pages/square/square.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue index f536cd1..66aa998 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue @@ -82,6 +82,9 @@ this.getPostList(); this.getClassList(); this.getUserRanking(); + }, + onShow() { + }, onReachBottom() { if (this.pageCurrent == 0) { From 80b0fdce8518aae386a258d074f097eee6053d8a Mon Sep 17 00:00:00 2001 From: linfeng Date: Tue, 17 Oct 2023 10:41:25 +0800 Subject: [PATCH 2/2] update square/square.vue --- .../static/linfeng-community-uniapp-ky/pages/square/square.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue index 66aa998..f02ad5f 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/square/square.vue @@ -79,12 +79,11 @@ }, onLoad() { this.getBannerList(); - this.getPostList(); this.getClassList(); this.getUserRanking(); }, onShow() { - + this.getPostList(); }, onReachBottom() { if (this.pageCurrent == 0) {