feat: support custom router base property - fixed #1561
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user