mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
refactor(nav): disable router for now
This commit is contained in:
@ -93,7 +93,7 @@ export class Nav implements PublicNav {
|
|||||||
componentWillLoad() {
|
componentWillLoad() {
|
||||||
this.routes = Array.from(this.element.querySelectorAll('ion-route'))
|
this.routes = Array.from(this.element.querySelectorAll('ion-route'))
|
||||||
.map(child => child.getRoute());
|
.map(child => child.getRoute());
|
||||||
this.useRouter = this.config.getBoolean('useRouter', false);
|
this.useRouter = false; // this.config.getBoolean('useRouter', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidLoad() {
|
componentDidLoad() {
|
||||||
|
|||||||
Reference in New Issue
Block a user