From e6459023e17e4edf62eafe912ede429686727cf8 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Fri, 4 Mar 2022 18:16:23 +0800 Subject: [PATCH] fix format number issue --- src/views/WalletAccounts.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/WalletAccounts.vue b/src/views/WalletAccounts.vue index 9e32ea8f..01a35f58 100644 --- a/src/views/WalletAccounts.vue +++ b/src/views/WalletAccounts.vue @@ -439,9 +439,9 @@ export default { total[denom] = this.formatCurrency(x.amount, x.denom) } if (qty[denom]) { - qty[denom] += this.formatAmount(x.amount, x.denom) + qty[denom] += this.formatAmount(x.amount, x.denom, false) } else { - qty[denom] = this.formatAmount(x.amount, x.denom) + qty[denom] = this.formatAmount(x.amount, x.denom, false) } }) }) @@ -457,9 +457,9 @@ export default { total[denom] = this.formatCurrency(x.amount, x.denom) } if (qty[denom]) { - qty[denom] += this.formatAmount(x.amount, x.denom) + qty[denom] += this.formatAmount(x.amount, x.denom, false) } else { - qty[denom] = this.formatAmount(x.amount, x.denom) + qty[denom] = this.formatAmount(x.amount, x.denom, false) } }) })