update
This commit is contained in:
parent
9eb9bc9a49
commit
3c8d422b85
@ -734,10 +734,7 @@
|
||||
},
|
||||
mounted() {
|
||||
this.refreshData();
|
||||
// 每30秒自动刷新
|
||||
this.autoRefreshInterval = setInterval(() => {
|
||||
this.refreshData();
|
||||
}, 30000);
|
||||
// 不自动刷新,用户可以手动点击刷新按钮
|
||||
},
|
||||
beforeUnmount() {
|
||||
if (this.autoRefreshInterval) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user