返回上一页并刷新

window.location.href = document.referrer;
原文地址:https://www.cnblogs.com/justsilky/p/12598355.html