commit
ce453cef33
@ -137,15 +137,13 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
|
|
||||||
this.initTable();
|
this.initTable();
|
||||||
this.updateData();
|
|
||||||
this.chartInterval = setInterval(this.updateData, 3000);
|
this.chartInterval = setInterval(this.updateData, 3000);
|
||||||
this.mediaServer.getOnlineMediaServerList((data)=>{
|
this.mediaServer.getOnlineMediaServerList((data)=>{
|
||||||
this.mediaServerList = data.data;
|
this.mediaServerList = data.data;
|
||||||
if (this.mediaServerList && this.mediaServerList.length > 0) {
|
if (this.mediaServerList && this.mediaServerList.length > 0) {
|
||||||
this.mediaServerChoose = this.mediaServerList[0].id
|
this.mediaServerChoose = this.mediaServerList[0].id
|
||||||
this.loadCount = this.mediaServerList[0].count;
|
this.loadCount = this.mediaServerList[0].count;
|
||||||
this.getThreadsLoad();
|
this.updateData();
|
||||||
this.getAllSession();
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user