mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 09:13:49 +08:00
feat: 监控显示优化
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user