无法确定和传递窗口的index时.

js调用如下方法即可

//关闭top弹窗
var index = top.layer.getFrameIndex(window.name);
console.log('index',index);
top.layer.close(index);

相关文章:

  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
相关资源
相似解决方案