fix: 限速输入统一为 Mbps,去掉 mbToBits 转换
- 订阅表单 speed_limit 去掉 bitsToMb/mbToBits 转换,直接存 Mbps
- traffic_limit speed_limit 标签从 KB 改为 Mbps
- 节点组 speed_limit 标签从 KB/s 改为 Mbps
- Display trafficSpeed 类型直接显示 {value} Mbps
Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
@@ -38,7 +38,7 @@ export function Display<T extends number | undefined | null>({
|
||||
}
|
||||
|
||||
if (type === "trafficSpeed") {
|
||||
return value ? `${formatBytes(value).replace("B", "b")}ps` : "0";
|
||||
return value ? `${value} Mbps` : "0";
|
||||
}
|
||||
|
||||
if (type === "number") {
|
||||
|
||||
Reference in New Issue
Block a user