history.pushState(null, null, window.location.href)
window.onpopstate = function (event) {
history.go(1)
}
history.pushState(null, null, window.location.href)
window.onpopstate = function (event) {
history.go(1)
}
转载于:https://www.cnblogs.com/xxcf/p/6049931.html