首页显示时加载报警数

This commit is contained in:
xusd 2024-06-03 09:31:16 +08:00
parent 52f83b39e0
commit 31cc5b8fd0

View File

@ -364,6 +364,9 @@
created() { created() {
this.getAlarmCount(); this.getAlarmCount();
}, },
onShow() {
this.getAlarmCount();
},
mounted() { mounted() {
this.queryBottomCylDataInit(); this.queryBottomCylDataInit();
this.intervalTask = setInterval(() => { this.intervalTask = setInterval(() => {