优化代码

qrnn
youngS 3 years ago
parent 8bf925e9df
commit 6412e36d0b
  1. 4
      fir_client/src/components/user/FirSuperSignBase.vue

@ -1122,9 +1122,9 @@ export default {
this.bill_percent = 100; this.bill_percent = 100;
} }
} else { } 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; this.bill_percent = 100;
}else { } else {
this.bill_percent = Number(this.balance_info.used_balance * 100 / this.balance_info.all_balance); this.bill_percent = Number(this.balance_info.used_balance * 100 / this.balance_info.all_balance);
} }
} }

Loading…
Cancel
Save