mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-03 20:38:52 +08:00
删除默认监控数据
This commit is contained in:
parent
556a10bae7
commit
f88a700601
@ -129,6 +129,11 @@
|
||||
xAxisData.splice(0, 1);
|
||||
xAxisData.push(topData.time);
|
||||
}
|
||||
if (cpuItem.data[0] === 0) {
|
||||
cpuItem.data.splice(0, 1);
|
||||
diskItem.data.splice(0, 1);
|
||||
memoryItem.data.splice(0, 1);
|
||||
}
|
||||
let newSeries = [cpuItem, memoryItem, diskItem];
|
||||
loadEcharts(xAxisData, newSeries);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user