判断当前html界面是否为通过history.go返回的,并刷新界面
window.addEventListener('pageshow', function (event) {
if (event.persisted || window.performance && window.performance.navigation.type == 2) {
location.reload();
}
}, false);