fix: NET图表100KB/s下限 — update后强制redraw
This commit is contained in:
@@ -259,7 +259,7 @@
|
||||
if (charts.mem) charts.mem.update(memVal);
|
||||
if (charts.net) {
|
||||
charts.net.update(net.rx_bytes_sec||0, net.tx_bytes_sec||0);
|
||||
charts.net.maxVal = Math.max(charts.net.maxVal, 102400);
|
||||
if (charts.net.maxVal < 102400) { charts.net.maxVal = 102400; charts.net.draw(); }
|
||||
}
|
||||
} catch(e) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user