微信返回按钮返回刷新 window.onpageshow = function (event) { if (event.persisted) { window.location.reload(); } }