Reload on self-navigation to avoid total locks on vehicle
This commit is contained in:
parent
3bddf0b509
commit
87bac3566f
1 changed files with 2 additions and 0 deletions
|
|
@ -172,6 +172,8 @@ router.beforeEach(async (to, from, next) => {
|
|||
if (isInIframe && notToPIAReturn) {
|
||||
const newUrl = `${window.top.location.origin}${to.href}`;
|
||||
window.top.location.href = newUrl;
|
||||
} else if (toQueryPage === fromQueryPage) {
|
||||
router.go(0);
|
||||
} else {
|
||||
next();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue