From 4f444ae1cd0e5231a586a0861c04b97615be95a3 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sun, 31 Jul 2022 01:12:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=91=84=E5=83=8F=E5=A4=B4?= =?UTF-8?q?=E6=8E=A8=E6=B5=81=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property/cameraControlVideo/cameraControlVideo.js | 4 ++++ public/components/property/editLocation/editLocation.html | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/public/components/property/cameraControlVideo/cameraControlVideo.js b/public/components/property/cameraControlVideo/cameraControlVideo.js index fbfe5fc99..f9befa68d 100644 --- a/public/components/property/cameraControlVideo/cameraControlVideo.js +++ b/public/components/property/cameraControlVideo/cameraControlVideo.js @@ -154,6 +154,10 @@ }, function(json, res) { //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); + let _json = JSON.parse(json); + if(_json.code == -3){ // 摄像头 未推流 重新播放推流 + $that.viewCameras(); + } }, function(errInfo, error) {}); }, diff --git a/public/components/property/editLocation/editLocation.html b/public/components/property/editLocation/editLocation.html index 4a209396c..602de9e36 100755 --- a/public/components/property/editLocation/editLocation.html +++ b/public/components/property/editLocation/editLocation.html @@ -71,12 +71,12 @@ -
+ +
- + -->