Browse Source
Merge pull request #174 from chenparty/wvp-28181-2.0
修正首次打开页面报请求失败的提示
pull/183/head
648540858
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
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(); |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|