Skip to content

Commit 22e964c

Browse files
authored
fix:删除上传文件提示文案多余空格 (#3888)
1 parent a1df9c3 commit 22e964c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/string/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ export const formatFileSize = (size, baseUnit = '') => {
800800
unitIndex--
801801
}
802802

803-
return parseFloat(toDecimal(size, 2, true)) + ' ' + unitArr[unitIndex]
803+
return parseFloat(toDecimal(size, 2, true)) + unitArr[unitIndex]
804804
}
805805

806806
/**

0 commit comments

Comments
 (0)