From ad311cdeff10f70cfa9b47ddbff055b3d7e5cc04 Mon Sep 17 00:00:00 2001 From: luyisha Date: Thu, 15 Jun 2023 18:38:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E6=88=B7=E6=9D=83=E7=9B=8A=E9=87=91?= =?UTF-8?q?=E9=A2=9D=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/exchange/open-position.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/exchange/open-position.vue b/pages/exchange/open-position.vue index 17cfc56..a77031a 100644 --- a/pages/exchange/open-position.vue +++ b/pages/exchange/open-position.vue @@ -1339,7 +1339,8 @@ export default { }; Contract.contractAccount(data, {loading: !boo, toast: false}).then((res) => { // console.info(res) - res.data.account_equity = (parseInt(res.data.account_equity)).toFixed(2) + // res.data.account_equity = (parseInt(res.data.account_equity)).toFixed(2) + res.data.account_equity = (+res.data.account_equity).toFixed(2) res.data.usable_balance = (res.data.usable_balance).toFixed(2) this.accountInfo = res.data; if (!boo) {