From 7d8b7f22c66a08306d532cf703d9bf2f6680e832 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 14 Apr 2023 14:31:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=85=AC=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppRedemptionPoints/AppRedemptionPoints.vue | 7 +++++-- .../AppRedemptionPoints/pointsPublicity.vue | 17 ++++++++++++----- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue index 234dbd3..250280c 100644 --- a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue +++ b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue @@ -98,13 +98,16 @@ export default { ...mapState(['user']), }, onLoad() { - this.getToatl() + this.getTotal() this.$dict.load(['integralSGType']).then(() => { this.getList() }) }, + onShow() { + this.getTotal() + }, methods: { - getToatl() { + getTotal() { this.$instance.post(`/app/appintegraluser/integralUserInfoFD`).then(res => { if (res?.data) { this.total = res.data.integral || 0 diff --git a/src/project/fengdu/AppRedemptionPoints/pointsPublicity.vue b/src/project/fengdu/AppRedemptionPoints/pointsPublicity.vue index 51804ad..2784597 100644 --- a/src/project/fengdu/AppRedemptionPoints/pointsPublicity.vue +++ b/src/project/fengdu/AppRedemptionPoints/pointsPublicity.vue @@ -42,7 +42,7 @@