|
@@ -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)
|