From 6412e36d0bc945b573d70bc70f010793e1fbc00d Mon Sep 17 00:00:00 2001 From: youngS Date: Tue, 16 Nov 2021 21:27:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_client/src/components/user/FirSuperSignBase.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fir_client/src/components/user/FirSuperSignBase.vue b/fir_client/src/components/user/FirSuperSignBase.vue index 22ddc5c..b5236ab 100644 --- a/fir_client/src/components/user/FirSuperSignBase.vue +++ b/fir_client/src/components/user/FirSuperSignBase.vue @@ -1122,9 +1122,9 @@ export default { this.bill_percent = 100; } } else { - if(this.balance_info.all_balance - this.balance_info.used_balance < 0){ + if (this.balance_info.all_balance - this.balance_info.used_balance < 0) { this.bill_percent = 100; - }else { + } else { this.bill_percent = Number(this.balance_info.used_balance * 100 / this.balance_info.all_balance); } }