修改额度汇率的展现形式
This commit is contained in:
parent
12f6d8d367
commit
7f6f3e66da
@ -43,7 +43,7 @@ export function renderQuota(quota, digits = 2) {
|
||||
quotaPerUnit = parseFloat(quotaPerUnit);
|
||||
displayInCurrency = displayInCurrency === 'true';
|
||||
if (displayInCurrency) {
|
||||
return '$' + (quota / quotaPerUnit).toFixed(digits);
|
||||
return '$' + (quota / 1000 * quotaPerUnit).toFixed(digits);
|
||||
}
|
||||
return renderNumber(quota);
|
||||
}
|
Loading…
Reference in New Issue
Block a user