fix: BUG修改

This commit is contained in:
kun 2024-03-16 15:33:03 +08:00
parent 5573665e8f
commit fea2477e43

View File

@ -1843,20 +1843,22 @@ export default {
// this.videoType = res.result[0].videoType; // this.videoType = res.result[0].videoType;
this.videoType = res.result.videoType this.videoType = res.result.videoType
// console.log('', res.result) // console.log('', res.result)
this.$nextTick(() => { if(!this.Popup.accountServer){
if (this.videoType === 1) { this.$nextTick(() => {
// if (this.videoType === 1) {
this.$refs.camera.setVideoInfo(res.result) //
} this.$refs.camera.setVideoInfo(res.result)
if ( }
this.videoType === 2 || if (
this.videoType === 3 || this.videoType === 2 ||
this.videoType === 7 this.videoType === 3 ||
) { this.videoType === 7
//isc xiongmai ) {
this.$refs.cameralc.setVideoInfo(res.result) //isc xiongmai
} this.$refs.cameralc.setVideoInfo(res.result)
}) }
})
}
} }
}) })
}, },