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

path: ‘/detail/’,
}, {
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.