js操做history

js操做history js操做history pushStatehtml pushState只会在当前history中添加一条记录,并不会刷新浏览器 history.pushState({}, "my title", "/test.html") replaceState浏览器 replaceState会替换当前的history中的记录,而且刷新浏览器 history.replaceState({
相关文章
相关标签/搜索