无法确定和传递窗口的index时.
js调用如下方法即可
//关闭top弹窗
var index = top.layer.getFrameIndex(window.name);
console.log('index',index);
top.layer.close(index);
无法确定和传递窗口的index时.
js调用如下方法即可
//关闭top弹窗
var index = top.layer.getFrameIndex(window.name);
console.log('index',index);
top.layer.close(index);