mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-28 06:40:33 +08:00
修改TB、PB、EB的有些计算错误
This commit is contained in:
@@ -40,6 +40,10 @@ Tea.context(function () {
|
||||
return (bits / 1000 / 1000 / 1000) + "PB"
|
||||
}
|
||||
|
||||
if (bits < 1000 * 1000 * 1000 * 1000 * 1000) {
|
||||
return (bits / 1000 / 1000 / 1000 / 1000) + "EB"
|
||||
}
|
||||
|
||||
return ""
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user