Explorar el Código

事件详情预览摄像头

彭宇 hace 2 años
padre
commit
0f9b2a0524
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. BIN
      public/hk/VideoWebPlugin.exe
  2. 3 3
      src/views/eventdetailsdialog.vue

BIN
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) {