fix: BUG修改
This commit is contained in:
parent
5573665e8f
commit
fea2477e43
@ -1843,20 +1843,22 @@ export default {
|
||||
// this.videoType = res.result[0].videoType;
|
||||
this.videoType = res.result.videoType
|
||||
// console.log('查询项目各类型的视频配置信息', res.result)
|
||||
this.$nextTick(() => {
|
||||
if (this.videoType === 1) {
|
||||
//萤石云
|
||||
this.$refs.camera.setVideoInfo(res.result)
|
||||
}
|
||||
if (
|
||||
this.videoType === 2 ||
|
||||
this.videoType === 3 ||
|
||||
this.videoType === 7
|
||||
) {
|
||||
//乐橙云、isc 、xiongmai
|
||||
this.$refs.cameralc.setVideoInfo(res.result)
|
||||
}
|
||||
})
|
||||
if(!this.Popup.accountServer){
|
||||
this.$nextTick(() => {
|
||||
if (this.videoType === 1) {
|
||||
//萤石云
|
||||
this.$refs.camera.setVideoInfo(res.result)
|
||||
}
|
||||
if (
|
||||
this.videoType === 2 ||
|
||||
this.videoType === 3 ||
|
||||
this.videoType === 7
|
||||
) {
|
||||
//乐橙云、isc 、xiongmai
|
||||
this.$refs.cameralc.setVideoInfo(res.result)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user