浏览代码

Merge branch 'dev' of http://192.168.0.115:3000/bill/fuse-code into dev

bill 1 年之前
父节点
当前提交
29bc9dd225
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/sdk/cover/index.js

+ 1 - 1
src/sdk/cover/index.js

@@ -58,7 +58,7 @@ export const enter = (dom, isLocal) => {
                 console.error('createdIframe', child.winIndex, child.location.href)
                 viewer.setDisplay(false ) 
                 
-                child.beforeDestroy = function(){ 
+                child.beforeDestroy = function(){ //注:在前端仍会找不到beforeDestroy,可能contentWindow变更??所以手动调用setDisplay
                     console.warn('beforeDestroy', child.winIndex)
                     
                     child.viewer && child.viewer.setDisplay(false)