JS的history对象和location对象

history.back()加载前一个页面 history.forward()加载下一个页面

location.reload()刷新  location.assign(URL)加载页面  location.replace(newURL)

猜你喜欢

转载自www.cnblogs.com/jintian/p/11108841.html