From 7f6f3e66dac675df54bfed88c7b5c6b55fc84d26 Mon Sep 17 00:00:00 2001 From: quzard <1191890118@qq.com> Date: Tue, 20 Jun 2023 20:59:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=9D=E5=BA=A6=E6=B1=87?= =?UTF-8?q?=E7=8E=87=E7=9A=84=E5=B1=95=E7=8E=B0=E5=BD=A2=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/helpers/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/helpers/render.js b/web/src/helpers/render.js index e7736fd8..f5c77ea4 100644 --- a/web/src/helpers/render.js +++ b/web/src/helpers/render.js @@ -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); } \ No newline at end of file