js代码如下: <script> $(function () { window.onpageshow = function (event) { if (event.persisted) { window.location.reload(); } } }); </script> 转载于:https://www.cnblogs.com/phperlinxinlan/p/10384510.html