window.opener.location.reload(true); //true代表从服务器重新获取,false为从缓存中获取,默认为false
或window.opener.location.href = window.opener.location.href;
或window.operner.location.replace(location);
或window.opener.location.href = window.opener.location.href;
或window.operner.location.replace(location);
本文介绍了使用 window.opener 对象刷新父页面的方法,包括通过 location.reload 和 location.href 属性实现页面的重新加载。
7160

被折叠的 条评论
为什么被折叠?



