mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
fix(nav): controller is initialized
This commit is contained in:
@ -258,7 +258,7 @@ export class FirstPage {
|
||||
}
|
||||
|
||||
|
||||
@Component({template: ''})
|
||||
@Component({template: '<ion-content></ion-content>'})
|
||||
export class RedirectPage {
|
||||
constructor(public navCtrl: NavController) { }
|
||||
ionViewDidEnter() {
|
||||
|
@ -177,6 +177,7 @@ export class NavControllerBase extends Ion implements NavController {
|
||||
ti.resolve = (hasCompleted: boolean, isAsync: boolean, enteringName: string, leavingName: string, direction: string) => {
|
||||
// transition has successfully resolved
|
||||
this._trnsId = null;
|
||||
this._init = true;
|
||||
resolve && resolve(hasCompleted, isAsync, enteringName, leavingName, direction);
|
||||
|
||||
// let's see if there's another to kick off
|
||||
|
Reference in New Issue
Block a user