From fcc5b3bd1bfd1f51b8dbebea2898095c2f2632b8 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 20 八月 2020 10:14:38 +0800 Subject: [PATCH] 实时监控固定视频宽高比,右侧卡片高跟随视频高度变化 --- src/pages/cameraAccess/components/SeparateRules.vue | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/pages/cameraAccess/components/SeparateRules.vue b/src/pages/cameraAccess/components/SeparateRules.vue index a92430e..358ad1a 100644 --- a/src/pages/cameraAccess/components/SeparateRules.vue +++ b/src/pages/cameraAccess/components/SeparateRules.vue @@ -320,6 +320,7 @@ saveSceneRule(groupRule) { const payload = { ...groupRule } payload.cameraIds = [this.Camera.cameraId]; + let _this = this; saveCameraScene(payload).then(rsp => { if (rsp && rsp.success) { this.Camera.update(); @@ -327,6 +328,10 @@ type: "success", message: "绛栫暐淇濆瓨鎴愬姛锛�" }); + //鍒锋柊宸︿晶鏍� + debugger + _this.$root.$children[0].$children[0].querySearchAsync('camera') + } }); }, -- Gitblit v1.8.0