From 80cee152c8c7f314d43a05ae1994aeeecd28b08a Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 20 九月 2024 18:35:47 +0800 Subject: [PATCH] Merge refs/remotes/origin/master into refs/heads/master --- pages/cart/paymentPage/index.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/cart/paymentPage/index.js b/pages/cart/paymentPage/index.js index febb0d2..8bece7c 100644 --- a/pages/cart/paymentPage/index.js +++ b/pages/cart/paymentPage/index.js @@ -241,7 +241,7 @@ if (res) { this.setData({ payId: res.payList[0].id, - payPrice: res.payPrice, + payPrice: res.payPrice.toFixed(2), deduct: (this.data.currentBalance / 100).toFixed(2), integral: this.data.integral - this.data.currentBalance, showIntegral: true @@ -258,7 +258,7 @@ console.log(res, "鍙栨秷鐢ㄧН鍒�") if (res) { this.setData({ - payPrice: res.payPrice, + payPrice: res.payPrice.toFixed(2), showIntegral: false }); this.getIntegral() -- Gitblit v1.9.1