//解决微信内核为wkwebview时返回上一页,界面不刷新的问题 window.onpageshow = function(event){ if (event.persisted) { window.location.reload(); } }; 转载于:https://www.cnblogs.com/ouyang2014/p/7098928.html