JS 刷新页面

467 阅读1分钟

刷新当前页面:

window.location.reload();

刷新父级页面:

window.parent.location.reload();//注意:如果是弹出窗口,应该先刷新,再关闭页面