使用window.history.go(-1)返回上页的同时刷新上页
强制载入后刷新一次
加入以下代码:
引用内容:
<script>
if(window.name != "bencalie"){
location.reload();
window.name = "bencalie";
}
else{
window.name = "";
}
</script>
if(window.name != "bencalie"){
location.reload();
window.name = "bencalie";
}
else{
window.name = "";
}
</script>
也可禁止缓存,重新进入页面
引用内容:
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
返回上一页代码:
引用内容:
<a href="Javascript:window.history.go(-1)">返回上一页</a>