How to use openIn: 'panel' to open a new page?

this.$f7router.navigate({
path: ‘/detail/’,
query,
}, {
openIn: ‘panel’
}); I want to use this method to open a new page through the panel in the index. However, it doesn’t work. When I change it to ‘popup’, the page inside the popup is still the previous index page, not the detail page.