From cb965ac04dc3979987e3286a15d022a306fe281d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TOP=E7=B3=AF=E7=B1=B3?= <1130395124@qq.com> Date: Sat, 1 Apr 2023 09:12:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=8F=AF=E8=83=BD=E4=B8=8D=E6=9B=B4=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/auth/auth.vue | 2 +- src/pages/member/cash/withdraw.vue | 2 +- src/pages/member/member.vue | 2 +- src/pages/member/service-info.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/auth/auth.vue b/src/pages/auth/auth.vue index 923cafe..a5505e7 100644 --- a/src/pages/auth/auth.vue +++ b/src/pages/auth/auth.vue @@ -184,7 +184,7 @@ export default { password: this.password, }) .then((response) => { - this.$store.dispatch("user/info"); + this.$store.dispatch("user/info", true); this.$store.commit("system/refreshGet", true); this.$store.commit("system/refreshOrder", true); this.$utils.toast(response.msg).then(() => { diff --git a/src/pages/member/cash/withdraw.vue b/src/pages/member/cash/withdraw.vue index 0c36844..833a073 100644 --- a/src/pages/member/cash/withdraw.vue +++ b/src/pages/member/cash/withdraw.vue @@ -52,7 +52,7 @@ export default { }, onLoad() {}, async onShow() { - await this.$store.dispatch("user/info"); + await this.$store.dispatch("user/info", true); this.$models.user.serviceData().then((data) => { this.balance = data.disposableBalance; }); diff --git a/src/pages/member/member.vue b/src/pages/member/member.vue index a2bb995..3b8b19a 100644 --- a/src/pages/member/member.vue +++ b/src/pages/member/member.vue @@ -159,7 +159,7 @@ export default { }, onLoad() {}, async onShow() { - await this.$store.dispatch("user/info"); + await this.$store.dispatch("user/info", true); if (this.isLogin) { if (!this.finishInfo) { this.$utils.toPage("/pages/member/service-info"); diff --git a/src/pages/member/service-info.vue b/src/pages/member/service-info.vue index 90f911a..d0aac63 100644 --- a/src/pages/member/service-info.vue +++ b/src/pages/member/service-info.vue @@ -200,7 +200,7 @@ export default { onLoad() {}, onShow() {}, async onReady() { - await this.$store.dispatch("user/info"); + await this.$store.dispatch("user/info", true); if (this.finishInfo) { this.avatar = this.userInfo.worker.avatar; this.province = this.userInfo.worker.province;