返回上一个页面并且刷新页面

返回上一个页面并且刷新上一个页面:

self.location=document.referrer;

或者是:

window.location.href=document.referrer;

document.referrer就是指上一个页面

猜你喜欢

转载自blog.csdn.net/weixin_41863239/article/details/82149465