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