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) {