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;