From 33ddf707b56c305d131e59a2c8a1833ac7ba627d Mon Sep 17 00:00:00 2001 From: lawrencehj <65707521+lawrencehj@users.noreply.github.com> Date: 星期三, 29 十二月 2021 18:08:33 +0800 Subject: [PATCH] 界面删除设备后同时删除Redis的对应条目,避免其它设备用同样IP登录时出现信息错误 --- web_src/src/components/control.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/control.vue b/web_src/src/components/control.vue index 576f942..b5990da 100644 --- a/web_src/src/components/control.vue +++ b/web_src/src/components/control.vue @@ -367,7 +367,7 @@ 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 @@ 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({ -- Gitblit v1.8.0