This commit is contained in:
2022-02-23 22:04:15 +00:00
parent a793b3a5f5
commit 9223635c18
6 changed files with 17 additions and 9 deletions

View File

@@ -181,11 +181,10 @@ export default {
}
},
created() {
//this.refresh();
if (this.updateFrequency > 0) {
this.timer = setInterval(() => {
this.refresh();
}, this.updateFrequency);
}, this.updateFrequency + window.$gz.util.getRandomInt(30000)); //add up to 30 seconds so they don't all fire at once
}
},
beforeDestroy() {