From 76f94b262cdb04dc9f27ed485fd0ff386c8e451e Mon Sep 17 00:00:00 2001 From: shilei <965026003@qq.com> Date: Tue, 12 Nov 2024 17:53:01 +0800 Subject: [PATCH] 11.12 --- pages/index/index.vue | 10 +++++++++- pages/order/chargorder/detailInf/detailInf.vue | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 53d8d66..c514a31 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -14,7 +14,8 @@ @confirm="getStationName" confirm-type="search" /> - + {{check_version}} @@ -415,6 +416,13 @@ } else { handle_charging_pay(res_result) } + }, + fail: function(res) { + uni.showToast({ + title: '二维码错误', + duration: 2000, + icon: 'error' + }); } }) } diff --git a/pages/order/chargorder/detailInf/detailInf.vue b/pages/order/chargorder/detailInf/detailInf.vue index 4bbc7fe..d801fb0 100644 --- a/pages/order/chargorder/detailInf/detailInf.vue +++ b/pages/order/chargorder/detailInf/detailInf.vue @@ -29,7 +29,7 @@ 充电电流(A) - {{detail.list.currentElectrical || 0}} + {{(detail.list.currentElectrical).toFixed(2) || 0}} 充电电压(V)