js 放回上一页

  1. window.history.go(-1);//返回上一页不刷新  
  2. window.location.href = document.referrer;//返回上一页并刷新  
原文地址:https://www.cnblogs.com/wen-zi/p/8990291.html