Explorar el Código

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

bill hace 1 año
padre
commit
29bc9dd225
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)