mirror of
https://gitee.com/dromara/go-view.git
synced 2025-06-30 08:39:15 +08:00
feat: 修复告警视频bug
This commit is contained in:
parent
5d748f6d3f
commit
bf138937dd
@ -199,7 +199,7 @@ const getVideos = (ids: number[], alarmIds: number[]) => {
|
|||||||
if(!res?.data) return
|
if(!res?.data) return
|
||||||
let arr:any = []
|
let arr:any = []
|
||||||
ids.forEach(id => {
|
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()
|
alarmVideos.value = arr.concat()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user