mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(navController): pass params to insert
This commit is contained in:
@ -346,7 +346,7 @@ export class NavController extends Ion {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// create new ViewController, but don't render yet
|
// create new ViewController, but don't render yet
|
||||||
let viewCtrl = new ViewController(this, componentType);
|
let viewCtrl = new ViewController(this, componentType, params);
|
||||||
viewCtrl.state = CACHED_STATE;
|
viewCtrl.state = CACHED_STATE;
|
||||||
viewCtrl.shouldDestroy = false;
|
viewCtrl.shouldDestroy = false;
|
||||||
viewCtrl.shouldCache = false;
|
viewCtrl.shouldCache = false;
|
||||||
|
Reference in New Issue
Block a user