feat: 修复告警视频bug

This commit is contained in:
huanghao1412 2024-07-16 12:33:53 +08:00
parent 5d748f6d3f
commit bf138937dd

View File

@ -199,7 +199,7 @@ const getVideos = (ids: number[], alarmIds: number[]) => {
if(!res?.data) return
let arr:any = []
ids.forEach(id => {
if(id) arr.push(res.data[id] ? res.data[id][0] : null)
arr.push(res.data[id] ? res.data[id][0] : null)
})
alarmVideos.value = arr.concat()