window.location.href = window.location.pathname + search;

相关文章: