//将此段代码放入需要刷新的页面即可
var browserRule = /^.*((iPhone)|(iPad)|(Safari))+.*$/; if (browserRule.test(navigator.userAgent)) { window.onpageshow = function(event) { if (event.persisted) { window.location.reload() } }; }
//将此段代码放入需要刷新的页面即可
var browserRule = /^.*((iPhone)|(iPad)|(Safari))+.*$/; if (browserRule.test(navigator.userAgent)) { window.onpageshow = function(event) { if (event.persisted) { window.location.reload() } }; }