修改bug
This commit is contained in:
parent
d6df89b3aa
commit
981b6d40a3
@ -30,7 +30,7 @@
|
||||
<text style="color: #999999;">|</text>
|
||||
<view class="jg-box" @click="goOil()">
|
||||
<view class="jg-box-title">囤油升数</view>
|
||||
<view class="jg-box-nmb">{{refuelMoney[0].refuelMoney || 0 }}L</view>
|
||||
<view class="jg-box-nmb">{{refuelMoney[0].incomeLitres || 0 }}L</view>
|
||||
</view>
|
||||
|
||||
<text style="color: #999999;">|</text>
|
||||
@ -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
|
||||
}
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user