回退按钮 页面强制刷新

 

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    阅读(262)  评论(0编辑  收藏  举报