mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +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) {
|
||||
return {
|
||||
path: to.path,
|
||||
query: { ...to.query, ...from.query },
|
||||
query: {
|
||||
...to.query,
|
||||
...from.query,
|
||||
},
|
||||
params: to.params,
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue