diff --git a/pages/index.vue b/pages/index.vue index a73c4c058..44152ff8a 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1635,7 +1635,9 @@ export default { history.replaceState( window.location.href, "", - `/?${encodeURI(flats.concat(deeps, bodyParams).join("").slice(0, -1))}` + `${this.$router.options.base}?${encodeURI( + flats.concat(deeps, bodyParams).join("").slice(0, -1) + )}` ) }, setRouteQueries(queries) {