From b0d0d30781a99e53f1a287cdb076da6871085029 Mon Sep 17 00:00:00 2001
From: XiaoQiTong <69035114+XiaoQiTong@users.noreply.github.com>
Date: 星期二, 18 十月 2022 20:18:51 +0800
Subject: [PATCH] 修改云端录像选择节点流媒体path不修改的bug device表增加的mediaServerId字段丢失,重新添加

---
 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 2dd15ec..722245b 100644
--- a/web_src/src/components/control.vue
+++ b/web_src/src/components/control.vue
@@ -329,7 +329,7 @@
           method: 'get',
           url: '/zlm/' + that.mediaServerChoose + '/index/api/getThreadsLoad'
         }).then(function (res) {
-          if (res.data.code == 0) {
+          if (res.data.code === 0) {
             that.tableOption.xAxis.data.push(new Date().toLocaleTimeString('chinese', {
               hour12: false
             }));
@@ -554,7 +554,7 @@
           url: '/zlm/' + that.mediaServerChoose + '/index/api/restartServer'
         }).then(function (res) {
           that.getAllSession();
-          if (res.data.code == 0) {
+          if (res.data.code === 0) {
             that.$message({
               type: 'success',
               message: '鎿嶄綔瀹屾垚'

--
Gitblit v1.8.0