js操做history

js操做history js操做history pushStatehtml pushState只會在當前history中添加一條記錄,並不會刷新瀏覽器 history.pushState({}, "my title", "/test.html") replaceState瀏覽器 replaceState會替換當前的history中的記錄,而且刷新瀏覽器 history.replaceState({
相關文章
相關標籤/搜索