mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Fix linting errors
This commit is contained in:
parent
2e18a19a9e
commit
d9c626d4cc
1 changed files with 5 additions and 2 deletions
|
@ -206,9 +206,12 @@ router.beforeEach((to, from) => {
|
||||||
if (to.path !== from.path && !to.redirectedFrom) {
|
if (to.path !== from.path && !to.redirectedFrom) {
|
||||||
return {
|
return {
|
||||||
path: to.path,
|
path: to.path,
|
||||||
query: { ...to.query, ...from.query },
|
query: {
|
||||||
|
...to.query,
|
||||||
|
...from.query,
|
||||||
|
},
|
||||||
params: to.params,
|
params: to.params,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue