瀏覽代碼

事件详情预览摄像头

彭宇 2 年之前
父節點
當前提交
0f9b2a0524
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 二進制
      public/hk/VideoWebPlugin.exe
  2. 3 3
      src/views/eventdetailsdialog.vue

二進制
public/hk/VideoWebPlugin.exe


+ 3 - 3
src/views/eventdetailsdialog.vue

@@ -1912,13 +1912,13 @@ export default {
           that.oWebControl = null
           $('#playWnd').html('插件未启动,正在尝试启动,请稍候...')
           WebControl.JS_WakeUp('VideoWebPlugin://') // 程序未启动时执行error函数,采用wakeup来启动程序
-          initCount++
-          if (initCount < 3) {
+          that.initCount++
+          if (that.initCount < 3) {
             setTimeout(function() {
               that.initPlugin(newappkey,newloginIp,newsecret,newloginPort)
             }, 3000)
           } else {
-            $('#playWnd').html('插件启动失败,请检查插件是否安装!')
+            $('#playWnd').html('插件启动失败,请检查插件是否安装!<a href="./public/hk/VideoWebPlugin.exe">下载插件</a>')
           }
         },
         cbConnectClose: function(bNormalClose) {