소스 검색

Merge branch 'njy' of http://git.xt.wenhq.top:8083/wenhongquan/VisualInspection into njy

MSI\liwei 4 년 전
부모
커밋
9e4ca5ec99
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      VisualInspection/js/util/video.js

+ 3 - 0
VisualInspection/js/util/video.js

@@ -147,6 +147,9 @@ function callFunc(func, param) {
     var origin = window.location.protocol + '//' + window.location.host;
     event.initMessageEvent(func, true, true, param, origin, 1234, window, null);
     document.dispatchEvent(event);
+    if(jsObj!=undefined){
+        eval("jsObj."+func+"("+param+")")
+    }
 }
 
 function playNext(index) {