window.history.back(-1);只后退一步,不进行刷新 location.href=document.referrer;后退一步并刷新, document.referrer获取上一个页面的url