fix: 设备中台列表刷新BUG修改以及合并代码

This commit is contained in:
kun 2024-07-02 10:51:17 +08:00
parent ab25ce7c04
commit e74d8139ea

View File

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