如何改变地址栏参数不跳转页面或刷新页面

使用
history.replaceState(null, "title","arg");
例如:
history.replaceState(null, "",'?category_id=0'+'&page='+pageIndex);
posted @ 2020-04-21 11:47  xiaokar  阅读(1837)  评论(0编辑  收藏  举报