mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-08 01:00:36 +08:00
fix torrent card
This commit is contained in:
@@ -56,7 +56,7 @@ export const formatFileSize = (bytes: number) => {
|
||||
throw new Error("字节数不能为负数。");
|
||||
}
|
||||
|
||||
const units = ["B", "KB", "MB", "GB", "TB"];
|
||||
const units = ["B", "K", "M", "G", "T"];
|
||||
let size = bytes;
|
||||
let unitIndex = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user