首页 > 技术文章 > JS返回上一页并刷新

phpfensi 2018-12-24 09:34 原文

 window.history.go(-1);//返回上一页不刷新
 window.location.href = document.referrer;//返回上一页并刷新

 

推荐阅读