Procházet zdrojové kódy

Merge pull request #200 from oldR/wvp-28181-2.0

修复无法`重启媒体服务器`,`删除远端通信链路`的问题
648540858 před 4 roky
rodič
revize
751fcc7a5b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      web_src/src/components/control.vue

+ 2 - 2
web_src/src/components/control.vue

@@ -367,7 +367,7 @@ export default {
                 let that = this;
                 this.$axios({
                     method: 'get',
-                    url: '/zlm/index/api/restartServer'
+                    url: '/zlm/' + that.mediaServerChoose +'/index/api/restartServer'
                 }).then(function (res) {
                     that.getAllSession();
                     if (res.data.code == 0) {
@@ -402,7 +402,7 @@ export default {
             let that = this;
             this.$axios({
                 method: 'get',
-                url: '/zlm/index/api/kick_session&id=' + id
+                url: '/zlm/' + that.mediaServerChoose +'/index/api/kick_session&id=' + id
             }).then(function (res) {
                 that.getAllSession();
                 that.$message({