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 } }) },