mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 06:32:04 +08:00
优化数据
This commit is contained in:
@@ -190,7 +190,7 @@ export default {
|
||||
this.getAllStats()
|
||||
const chartsTimer = setInterval(() => {
|
||||
this.getAllStats()
|
||||
}, 5000);
|
||||
}, 10000);
|
||||
this.$once('hook:beforeDestroy', () => {
|
||||
clearInterval(chartsTimer);
|
||||
})
|
||||
|
@@ -128,7 +128,7 @@ export default {
|
||||
|
||||
const chatTimer = setInterval(() => {
|
||||
this.getData();
|
||||
}, 2000);
|
||||
}, 10000);
|
||||
|
||||
this.$once('hook:beforeDestroy', () => {
|
||||
clearInterval(chatTimer);
|
||||
|
Reference in New Issue
Block a user