fix(vue): improve path matching when going back (#22275)

resolves #22258
This commit is contained in:
Liam DeBeasi
2020-10-13 16:04:55 -04:00
committed by GitHub
parent 52f655c9d4
commit b06ae16591
10 changed files with 748 additions and 35 deletions

View File

@ -6,8 +6,8 @@ export const IonPage = defineComponent({
isInOutlet: { type: Boolean, default: false }
},
setup(props, { attrs, slots }) {
const hidePageClass = (props.isInOutlet) ? 'ion-page-invisible' : '';
return () => {
const hidePageClass = (props.isInOutlet) ? 'ion-page-invisible' : '';
return h(
'div',
{