The need for this, because I'll native APP nested in H5, H5 when the page back into the page, the page is not initialized, then IOS system. In this case there will be some corresponding pages BUG, so the simplest solution I think is to monitor the page return event. refresh page
window.onpageshow=function(e){ if(e.persisted) { window.location.reload() } };