js window.open的页面里关闭当前窗口,刷新原来的窗口

 

window.onbeforeunload = null;
window.onunload = null;
//window.opener.top.location.href = "/login/login.aspx"; //location
window.opener.location.href = window.opener.location.href;
window.opener = null;
window.close();

 

上一篇:nginx学习


下一篇:nginx 初体验~~