js jquery方法汇总

1、调用函数删除所有参数 function removeUrlAllParameters() { var url = new URL(window.location.href); url.search = ''; // 清空所有查询参数 window.history.pushState(null,

posted on 2024-04-26 18:22  andydaopeng  阅读(4)  评论(0编辑  收藏  举报