From da136787ddc060f745da5fb39da21c25a44f9c6b Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 8 Jul 2025 17:41:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E9=BB=98=E8=AE=A4=E4=B8=A4=E4=BD=8D=E5=B0=8F?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.js b/src/utils/index.js index 23817cf2..084bc6dd 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -93,7 +93,7 @@ export function deepClone(source, map = new WeakMap()) { return target; } -export function formatSize(size, fixed = 0) { +export function formatSize(size, fixed = 2) { if (isNaN(parseFloat(size))) return '' let kbSize = size / 1024 if (kbSize <= 1024) {