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 @@ - -