实时数据

This commit is contained in:
xbx 2024-05-09 21:30:57 +08:00
parent 71f0e95b84
commit 24940b5594
1 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ export default {
28654,
28537,
],
data3: [8002323, 10002304, 12938683.5],
data3: [80002, 82024, 85383.5],
data4: [10869, 11108, 12109],
num: 4149861,
redu: 31904,
@ -336,7 +336,7 @@ export default {
if (this.data3.length >= 60) {
this.data3.shift();
}
this.data3.push(Math.floor(Math.random() * (5000 - 2000 + 1)) + 2000 + this.data3[this.data3.length - 1]);
this.data3.push(Math.floor(Math.random() * (5000 - 3000 + 1)) + this.data3[this.data3.length - 1]);
this.chartInstance3.setOption({
xAxis: {
data: this.data3.map((item, index) => {