在iframe关闭时将其src设置为false.我是将IFrame做成继承Ext.Panel的UI,释放的时候重写destroy,

代码如下:

destroy:function(){
  this.iframe.dom.src=false;  
  Business.IFrame.superclass.destroy.apply(this, arguments); 
  CollectGarbage();
 },

相关文章:

  • 2022-12-23
  • 2021-11-08
  • 2021-11-28
  • 2021-11-08
  • 2021-08-06
  • 2021-12-14
  • 2021-08-07
猜你喜欢
  • 2022-02-11
  • 2022-02-17
  • 2021-11-25
  • 2021-11-17
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案