diff --git a/web_src/src/components/control.vue b/web_src/src/components/control.vue index a8ee8d41..576f9422 100644 --- a/web_src/src/components/control.vue +++ b/web_src/src/components/control.vue @@ -137,15 +137,13 @@ export default { mounted() { this.initTable(); - this.updateData(); this.chartInterval = setInterval(this.updateData, 3000); this.mediaServer.getOnlineMediaServerList((data)=>{ this.mediaServerList = data.data; if (this.mediaServerList && this.mediaServerList.length > 0) { this.mediaServerChoose = this.mediaServerList[0].id this.loadCount = this.mediaServerList[0].count; - this.getThreadsLoad(); - this.getAllSession(); + this.updateData(); } }) },