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/dialog/chooseChannelForStream.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/web_src/src/components/dialog/chooseChannelForStream.vue b/web_src/src/components/dialog/chooseChannelForStream.vue index 1eec0b2..8d63dbf 100644 --- a/web_src/src/components/dialog/chooseChannelForStream.vue +++ b/web_src/src/components/dialog/chooseChannelForStream.vue @@ -180,15 +180,17 @@ } }) .then(function (res) { - that.total = res.data.total; - that.gbStreams = res.data.list; - that.gbChoosechannel = {}; - // 闃叉鍑虹幇琛ㄦ牸閿欎綅 - that.$nextTick(() => { + if (res.data.code === 0) { + that.total = res.data.data.total; + that.gbStreams = res.data.data.list; + that.gbChoosechannel = {}; + // 闃叉鍑虹幇琛ㄦ牸閿欎綅 + that.$nextTick(() => { that.$refs.gbStreamsTable.doLayout(); // 榛樿閫変腑 - that.eventEnable = true; - }) + that.eventEnable = true; + }) + } }) .catch(function (error) { console.log(error); -- Gitblit v1.8.0