src/views/cockpitPage/index.vue
@@ -98,9 +98,9 @@ }, mounted() { this.getDashboard(); setInterval(() => { this.getDashboard(); }, 30000); // setInterval(() => { // this.getDashboard(); // }, 30000); }, watch: {}, methods: { @@ -119,6 +119,10 @@ this.setLeftBlock5(res.data); // 设备负荷对比 this.setRightBlock1(res.data); }).finally(()=>{ setTimeout(()=>{ this.getDashboard() },30000) }); }, // 处理左上数据