diff --git a/pages/index.vue b/pages/index.vue index 9502438..d7b2586 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -364,6 +364,9 @@ created() { this.getAlarmCount(); }, + onShow() { + this.getAlarmCount(); + }, mounted() { this.queryBottomCylDataInit(); this.intervalTask = setInterval(() => {