fix: NET图表maxVal修正后重绘
This commit is contained in:
@@ -366,7 +366,7 @@
|
||||
try {
|
||||
if (charts.cpu) charts.cpu.update(cpuVal);
|
||||
if (charts.mem) charts.mem.update(memVal);
|
||||
if (charts.net) { charts.net.update(net.rx_bytes_sec||0, net.tx_bytes_sec||0); if (charts.net.maxVal < 102400) charts.net.maxVal = 102400; }
|
||||
if (charts.net) { charts.net.update(net.rx_bytes_sec||0, net.tx_bytes_sec||0); if (charts.net.maxVal < 102400) { charts.net.maxVal = 102400; charts.net._draw(); } }
|
||||
} catch(e) {}
|
||||
}
|
||||
// 更新额外指标
|
||||
|
||||
Reference in New Issue
Block a user