From f20a554bdb24e9dfde9dc6a69d78595944f61d15 Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期二, 25 十月 2022 14:53:57 +0800 Subject: [PATCH] 设备管理 样式调整 --- src/views/hashrate/CameraManage/CameraInfo/index.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/hashrate/CameraManage/CameraInfo/index.vue b/src/views/hashrate/CameraManage/CameraInfo/index.vue index 76926e1..793881c 100644 --- a/src/views/hashrate/CameraManage/CameraInfo/index.vue +++ b/src/views/hashrate/CameraManage/CameraInfo/index.vue @@ -204,6 +204,7 @@ :rtspUrl="videoItem.rtsp" :isRunning="false" :showArea="false" + :videoUrl="ip" v-if=" videoItem !== '' && videoItem !== undefined && @@ -261,6 +262,7 @@ togglePlay: true, eventAudio: new Audio(), soundPath: "", + ip: "", form: {}, // 璁板綍娣诲姞鐘舵�� isAdd: false, @@ -375,6 +377,8 @@ if (node.type === "4") { getCameraInfo(node.id).then((res) => { if (res.success) { + this.ip = "ws://" + res.data.ip + ":7009/ws"; + if (res.data.resolutions) { let list = res.data.resolutions.map((i) => { let obj = {}; @@ -735,7 +739,7 @@ .connect { margin-bottom: 20px; display: flex; - justify-content: end; + justify-content: flex-end; } .el-button { @@ -862,7 +866,7 @@ .btns { display: flex; - justify-content: end; + justify-content: flex-end; margin-top: 20px; .delBtn { -- Gitblit v1.8.0