setTimeout(function(){ location.replace(location.href); },1000); 转载于:https://www.cnblogs.com/walblog/p/8031572.html