fix: 限速输入统一为 Mbps,去掉 mbToBits 转换
Build and Release / Build (push) Has been cancelled
Issue Close Require / issue-close-require (push) Has been cancelled
Issue Check Inactive / issue-check-inactive (push) Has been cancelled

- 订阅表单 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:
2026-03-27 02:47:40 -07:00
parent 5a493fce67
commit 785c832e02
4 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -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") {