浏览代码

修改网页标题
登录页区分

彭宇 2 年之前
父节点
当前提交
db7d53b559
共有 1 个文件被更改,包括 7 次插入3 次删除
  1. 7 3
      src/views/eventdetailsdialog.vue

+ 7 - 3
src/views/eventdetailsdialog.vue

@@ -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)
+        })
       })
 
     },