feat: support custom router base property - fixed #1561
This commit is contained in:
@@ -1635,7 +1635,9 @@ export default {
|
|||||||
history.replaceState(
|
history.replaceState(
|
||||||
window.location.href,
|
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) {
|
setRouteQueries(queries) {
|
||||||
|
|||||||
Reference in New Issue
Block a user