我使用 ionic4 开发了一个应用程序。我在导航过程中遇到一个问题,页面重叠,如下图所示。我使用 NavController
进行导航。
public editUserProfile() {
this.menuCtrl.close('side-menu');
this.navCtrl.navigateForward('/home/edit-profile');
}
有什么解决办法吗?
最佳答案
Ionic 3 导航方法在 Ionic 4 中不起作用。您需要在此处实现角度路由概念。裁判此链接https://ionicframework.com/docs/navigation/angular
关于cordova - Ionic4 中的导航页面重叠,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55443803/