摘要: //返回刷新 window.addEventListener('pageshow', function(event) { //event.persisted属性为true时,表示当前文档是从往返缓存中获取 if(event.persisted) { location.reload(); } }); 阅读全文
posted @ 2018-11-26 15:44 橙云生 阅读(221) 评论(0) 推荐(0) 编辑