// 关闭当前窗口并刷新父页面
window.close();
window.opener.location.href = window.opener.location.href;
// 返回上一页并刷新
window.location.replace(document.referrer);
// 关闭当前窗口并刷新父页面
window.close();
window.opener.location.href = window.opener.location.href;
// 返回上一页并刷新
window.location.replace(document.referrer);