cordova - Ionic4 中的导航页面重叠

标签 cordova routes ionic3 angular5 ionic4

我使用 ionic4 开发了一个应用程序。我在导航过程中遇到一个问题,页面重叠,如下图所示。我使用 NavController 进行导航。

    public editUserProfile() {
       this.menuCtrl.close('side-menu');
       this.navCtrl.navigateForward('/home/edit-profile');
  }

有什么解决办法吗?

enter image description here

最佳答案

Ionic 3 导航方法在 Ionic 4 中不起作用。您需要在此处实现角度路由概念。裁判此链接https://ionicframework.com/docs/navigation/angular

关于cordova - Ionic4 中的导航页面重叠,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55443803/

相关文章:

javascript - 处理路由时出错 : Cannot read property 'connectOutlet' in Ember. js

ios - 创建解耦的 Router 和 ViewFactory

angular - 如何在 Nginx 容器内路由 Angular 应用程序?

firebase - 如何取消订阅 AngularFire db 观察/订阅?

typescript - navCtrl.push 在 Ionic3 中不起作用

javascript - 使用地理定位 API 计算我的速度 javascript

Cordova 6 和连字符的包名称

android - 如何使用 ionic 在图库中显示下载的图像

ios - Apple App 因非 native 按钮和功能而被拒绝

ionic-framework - 如何在 ionic 中调整卡片的长度?