优化bug

This commit is contained in:
24kycj
2025-02-17 16:35:32 +08:00
parent c253004298
commit f9e31cb7f3
5 changed files with 188 additions and 74 deletions
+2 -1
View File
@@ -472,7 +472,8 @@ export const filterSize = (size) => {
}
export const pow1024 = (num) => {
return Math.pow(1024, num)
const size = process.platform === 'linux' ? 1000 : 1024
return Math.pow(size, num)
}
// 执行脚本