From 479c1fdce00feb25389493a246d7c590ea8fdf25 Mon Sep 17 00:00:00 2001 From: linfeng <2445465217@qq.com> Date: Mon, 3 Jul 2023 10:40:25 +0800 Subject: [PATCH] uniapp update --- .../static/linfeng-community-uniapp-ky/pages/index/index.vue | 5 +---- .../linfeng-community-uniapp-ky/pages/square/square.vue | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/index/index.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/index/index.vue index fe4167a..990bcd6 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/index/index.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/index/index.vue @@ -82,13 +82,10 @@ this.current = index; this.followUserPost = []; this.lastPost = []; - if (index === 0) { this.page1 = 1; this.getFollowUserPost(); - - } - if (index === 1) { + }else if (index === 1) { this.page2 = 1; this.getLastPost(); } 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 e8707db..f536cd1 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 @@ -45,8 +45,6 @@ - -