mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
@ -428,8 +428,8 @@ export class NavController extends Ion {
|
||||
opts = {};
|
||||
}
|
||||
|
||||
if (enteringView.usePortal && this._portal) {
|
||||
return this._portal.present(enteringView, opts);
|
||||
if (enteringView.usePortal && rootNav._portal) {
|
||||
return rootNav._portal.present(enteringView, opts);
|
||||
}
|
||||
|
||||
enteringView.setNav(rootNav);
|
||||
|
Reference in New Issue
Block a user