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();

 

posted @ 2021-11-25 09:51  罗华熔  阅读(583)  评论(0)    收藏  举报