function reload() {
window.open(window.location.href)
window.open("about:blank","_self").close()
}
感谢 水子哥,Svend ,还有大家
function reload() {
window.open(window.location.href)
window.open("about:blank","_self").close()
}
感谢 水子哥,Svend ,还有大家
此代码在现代浏览器(v8内核)无效。最终使用了其他方案清理的内存(刷新页面)