返回上一个页面并且刷新上一个页面:
self.location=document.referrer;
或者是:
window.location.href=document.referrer;
document.referrer就是指上一个页面
返回上一个页面并且刷新上一个页面:
self.location=document.referrer;
或者是:
window.location.href=document.referrer;
document.referrer就是指上一个页面