mirror of
https://gitee.com/dromara/go-view.git
synced 2025-06-30 00:29:16 +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
|
||||
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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user