From ee2960ee33fda0a602b0005a39e7c169577fcf0a Mon Sep 17 00:00:00 2001 From: woody Date: Wed, 17 Sep 2025 11:20:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(index):=20=E6=B3=A8=E5=86=8C=E5=90=8E?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=97=A0=E4=B8=93=E5=8C=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 8d350dd..f7cdf29 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -427,9 +427,11 @@ export default { }, onShow() { this.$store.dispatch('getCarLength') - this.user = uni.getStorageSync('User') - this.getAreaGoods() - this.newShareMember = this.user?.loginType !== 0 + this.$store.dispatch('GetInfo').then(() => { + this.user = uni.getStorageSync('User') + this.getAreaGoods() + this.newShareMember = this.user?.loginType !== 0 + }) }, onPullDownRefresh() { let that = this