mirror of
https://gitee.com/dromara/go-view.git
synced 2025-06-30 08:39:15 +08:00
feat: 告警增加摄像头弹窗
This commit is contained in:
parent
db5fd25c1d
commit
336d4a12d4
@ -224,9 +224,22 @@ const getVideos = (ids: number[]) => {
|
||||
}
|
||||
|
||||
const showVideo = (obj: any) => {
|
||||
let a: {[k: string]: '' | null | boolean} = {
|
||||
ip: '',
|
||||
port: null,
|
||||
account: '',
|
||||
password: '',
|
||||
channel: '',
|
||||
brand: '',
|
||||
plugin: '',
|
||||
}
|
||||
for(let k in a) {
|
||||
a[k] = obj[k]
|
||||
}
|
||||
a.showForce = true
|
||||
postMessageToParent({
|
||||
type: 'openVideoV2',
|
||||
data: obj
|
||||
data: a
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user