diff --git a/src/components/services/NetAlertx.vue b/src/components/services/NetAlertx.vue index 655b4d2..a9faba9 100644 --- a/src/components/services/NetAlertx.vue +++ b/src/components/services/NetAlertx.vue @@ -44,10 +44,10 @@ export default { }; }, created() { - const updateInterval = parseInt(this.item.updateInterval, 10) || 0; - if (updateInterval > 0) { - setInterval(() => this.fetchStatus(), updateInterval); - } + // Set up auto-update method for the scheduler + this.autoUpdateMethod = this.fetchStatus; + + // Initial data fetch this.fetchStatus(); }, methods: {