From e2d7c0225e0439ec2b5197b51c1b32f691f1d1be Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Wed, 11 Dec 2019 07:07:31 +0530 Subject: [PATCH] :bug: Fixes #417 --- pages/index.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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) {