Pārlūkot izejas kodu

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

bill 1 gadu atpakaļ
vecāks
revīzija
29bc9dd225
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)