From fea2477e439bf0f70e1b67f4de0d62cea651e25b Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Sat, 16 Mar 2024 15:33:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../videoManage/videoConfig.vue | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/views/equipmentCenter/videoManage/videoConfig.vue b/src/views/equipmentCenter/videoManage/videoConfig.vue index 8af4471e..61842273 100644 --- a/src/views/equipmentCenter/videoManage/videoConfig.vue +++ b/src/views/equipmentCenter/videoManage/videoConfig.vue @@ -1843,20 +1843,22 @@ export default { // this.videoType = res.result[0].videoType; this.videoType = res.result.videoType // console.log('查询项目各类型的视频配置信息', res.result) - this.$nextTick(() => { - if (this.videoType === 1) { - //萤石云 - this.$refs.camera.setVideoInfo(res.result) - } - if ( - this.videoType === 2 || - this.videoType === 3 || - this.videoType === 7 - ) { - //乐橙云、isc 、xiongmai - this.$refs.cameralc.setVideoInfo(res.result) - } - }) + if(!this.Popup.accountServer){ + this.$nextTick(() => { + if (this.videoType === 1) { + //萤石云 + this.$refs.camera.setVideoInfo(res.result) + } + if ( + this.videoType === 2 || + this.videoType === 3 || + this.videoType === 7 + ) { + //乐橙云、isc 、xiongmai + this.$refs.cameralc.setVideoInfo(res.result) + } + }) + } } }) },