|
@@ -2023,9 +2023,13 @@ export default {
|
|
|
getHaiKangVideoServer({ cameraCode: cameraCode }).then(newResponse => {
|
|
|
that.cameraTitle = '摄像头-' + newResponse.data.cameraName
|
|
|
that.initPlugin(newResponse.data.appkey, newResponse.data.loginIp, newResponse.data.secret, newResponse.data.loginPort)
|
|
|
- setTimeout(function() {
|
|
|
- that.playhk(newResponse.data.channelCode)
|
|
|
- }, 5000)
|
|
|
+ that.$nextTick(()=>{
|
|
|
+ console.log(that.oWebControl)
|
|
|
+ setTimeout(function() {
|
|
|
+ console.log(that.oWebControl)
|
|
|
+ that.playhk(newResponse.data.channelCode)
|
|
|
+ }, 5000)
|
|
|
+ })
|
|
|
})
|
|
|
|
|
|
},
|