mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
fix(vue): do not hide page content when using ion-page in non-routing contexts (#22302)
resolves #22300
This commit is contained in:
@ -301,7 +301,7 @@ export const IonRouterOutlet = defineComponent({
|
||||
'ion-router-outlet',
|
||||
{ ref: 'ionRouterOutlet' },
|
||||
// TODO types
|
||||
components && components.map((c: any) => h(c.vueComponent, { key: c.pathname }))
|
||||
components && components.map((c: any) => h(c.vueComponent, { key: c.pathname, isInOutlet: true }))
|
||||
)
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user