From 311eccc94f5b544c932f245f8c0436c57d9049ac Mon Sep 17 00:00:00 2001 From: linfeng <2445465217@qq.com> Date: Mon, 14 Aug 2023 10:02:38 +0800 Subject: [PATCH] update uniapp --- .../static/linfeng-community-uniapp-ky/pages/index/index.vue | 2 +- .../static/linfeng-community-uniapp-ky/pages/login/weixin.vue | 2 +- 2 files changed, 2 insertions(+), 2 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 990bcd6..506a3aa 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 @@ -85,7 +85,7 @@ if (index === 0) { this.page1 = 1; this.getFollowUserPost(); - }else if (index === 1) { + } else if (index === 1) { this.page2 = 1; this.getLastPost(); } diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/pages/login/weixin.vue b/src/main/resources/static/linfeng-community-uniapp-ky/pages/login/weixin.vue index 5f756a3..831e156 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/pages/login/weixin.vue +++ b/src/main/resources/static/linfeng-community-uniapp-ky/pages/login/weixin.vue @@ -49,10 +49,10 @@ if (res.code === 0) { uni.setStorageSync("hasLogin", true); uni.setStorageSync("token", res.token); + that.getUserInfo(); uni.switchTab({ url: '/pages/index/index' }); - that.getUserInfo(); } uni.hideLoading(); })