2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

feat: 监控显示优化

This commit is contained in:
2026-01-12 19:29:57 +08:00
parent 58f303c751
commit 87420648b3
4 changed files with 896 additions and 440 deletions

View File

@@ -66,7 +66,7 @@ func CurrentInfo(nets, disks []string) types.CurrentInfo {
}
// 网络
if len(nets) == 0 {
netInfo, _ := net.IOCounters(false)
netInfo, _ := net.IOCounters(true)
res.Net = netInfo
} else {
var netStats []net.IOCountersStat