layui 关闭父级打开的本窗口

Others 2017-12-14 09:30:12 2017-12-14 09:30:12 2785 次浏览
var index = parent.layer.getFrameIndex(window.name); 
	    parent.layer.close(index);