From 981b6d40a3a68125b214aab8616bbd3a6d76a3a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com> Date: Thu, 4 Jan 2024 12:05:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gasStation-uni/pages/my/my.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gasStation-uni/pages/my/my.vue b/gasStation-uni/pages/my/my.vue index 14e15b432..4ca1b2134 100644 --- a/gasStation-uni/pages/my/my.vue +++ b/gasStation-uni/pages/my/my.vue @@ -30,7 +30,7 @@ | 囤油升数 - {{refuelMoney[0].refuelMoney || 0 }}L + {{refuelMoney[0].incomeLitres || 0 }}L | @@ -293,10 +293,12 @@ }).then(res => { if (res.data) { this.cardBalance = res.data.cardBalance, + this.myPoints = res.data.points, /* if (res.data.refuelMoney!=null && res.data.refuelMoney!=""){ this.refuelMoney = JSON.parse(res.data.refuelMoney); } */ - this.refuelMoney = JSON.parse(res.data.refuelMoney); + this.refuelMoney = JSON.parse(res.data.refuelMoney); + console.log("333333333333333", this.refuelMoney); } }) }, @@ -321,7 +323,7 @@ } }).then((res) => { if (res.code == 200 && res.data != null) { - this.myPoints = res.data.points + //this.myPoints = res.data.points } }) },