From e74d8139ea394ff0ff911d65e824f2d1092b3e1c Mon Sep 17 00:00:00 2001 From: kun <1422840143@qq.com> Date: Tue, 2 Jul 2024 10:51:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AE=BE=E5=A4=87=E4=B8=AD=E5=8F=B0?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=88=B7=E6=96=B0BUG=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E5=90=88=E5=B9=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/equipmentCenter/videoManage/videoConfig.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/equipmentCenter/videoManage/videoConfig.vue b/src/views/equipmentCenter/videoManage/videoConfig.vue index 37fdc44f..4b05f963 100644 --- a/src/views/equipmentCenter/videoManage/videoConfig.vue +++ b/src/views/equipmentCenter/videoManage/videoConfig.vue @@ -1516,6 +1516,10 @@ export default { (res) => { console.log("获取视频分组列表", res); this.videoTreeData = res.result; + if (this.videoTreeData.length > 0) { + this.currentGroupInfo = this.videoTreeData[0]; + this.getProjectVideoConfigList(); + } this.getProjectVideoConfigList(); } ); @@ -1990,7 +1994,7 @@ export default { // if (this.activeGroupIndex !== '') { // id = this.groupList[parseInt(this.activeGroupIndex)].id // } - // console.log(id,77777777) + console.log(this.currentGroupInfo,77777777) let id = this.currentGroupInfo.id; this.$nextTick(() => { if (this.videoType === 1) {