diff --git a/pages/index.vue b/pages/index.vue index 40190ad0f..6c431f6f6 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1847,12 +1847,16 @@ export default { ? [flat("rawParams")] : [deep("bodyParams")]; - this.$router.replace( + history.replaceState( + window.location.href, + "", "/?" + - flats - .concat(deeps, bodyParams) - .join("") - .slice(0, -1) + encodeURIComponent( + flats + .concat(deeps, bodyParams) + .join("") + .slice(0, -1) + ) ); }, setRouteQueries(queries) {