回退按钮 页面强制刷新

 

if (window.name != "bencalie") {
            location.reload();
            window.name = "bencalie";
        } else {
            window.name = "";
        }

插入到页面的加载事件中

 

 

if (window.name != "bencalie") {
            location.reload();
            window.name = "bencalie";
        } else {
            window.name = "";
        }

posted @ 2020-11-11 10:17  罕  阅读(295)  评论(0)    收藏  举报