fix(vue): correctly handle query params (#22253)

resolves #22229
This commit is contained in:
Liam DeBeasi
2020-10-06 14:12:40 -04:00
committed by GitHub
parent f5d657c6cd
commit 6849dd3483
8 changed files with 90 additions and 211 deletions

View File

@ -153,6 +153,8 @@ export const IonRouterOutlet = defineComponent({
const enteringViewItem = viewStacks.findViewItemByRouteInfo(routeInfo, id);
const leavingViewItem = viewStacks.findLeavingViewItemByRouteInfo(routeInfo, id);
if (enteringViewItem === leavingViewItem) return;
fireLifecycle(enteringViewItem.vueComponent, LIFECYCLE_WILL_ENTER);
if (leavingViewItem) {