From 88ad420008d32345a8f0b2bff525ce692d14b614 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Tue, 17 May 2022 08:11:11 +0800 Subject: [PATCH] fixed null issue in pirce changes --- src/views/WalletAccounts.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/WalletAccounts.vue b/src/views/WalletAccounts.vue index 645df300..a3d04cd5 100644 --- a/src/views/WalletAccounts.vue +++ b/src/views/WalletAccounts.vue @@ -543,7 +543,7 @@ export default { if (price > 0) { return `+${parseFloat(price.toFixed(2))}%` } - return price === 0 ? '' : `${parseFloat(price.toFixed(2))}%` + return '' }, formatPrice(denom) { const d2 = this.formatDenom(denom)