I’m on F7 4.4.7. There is an inconsistency when using router.currentRoute.url after using router.back.
My mobile app starting page has the following route:
{
name: 'startup-index',
path: '/startup/index/',
url: '/app/Startup/index',
options: {
ignoreCache: true
}
}
Here, router.currentRoute.url will report ‘/startup/index/’.
If I navigate to another page and then call:
mainView.router.back("/app/Startup/index", { ignoreCache: true, force: true });
Then, router.currentRoute.url will report ‘/app/Startup/index/’.
This breaks the refreshPage or:
router.navigate(router.currentRoute.url, {
reloadCurrent: true,
ignoreCache: true,
});
functionality.
Also, router.currentRoute.url and router.currentRoute.path are rerporting the same.