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) {