看了几天ionic3 问题还挺多的,今天想把所有子页面tabs 给去掉,整了半天,发现app.Module 是可以配置的 修改 IonicModule.forRoot(MyApp)

imports: [
    BrowserModule,
    // IonicModule.forRoot(MyApp),
    HttpModule,
      IonicModule.forRoot(MyApp,{
          tabsHideOnSubPages: 'true' ,       //隐藏全部子页面tabs
          iconMode: 'ios',
          mode: 'ios',
          modalEnter: 'modal-slide-in',
          modalLeave: 'modal-slide-out',
      }),
      // SuperTabsModule.forRoot(),
      // IonicStorageModule.forRoot(),//就这里
  ],

  

相关文章:

  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2021-06-30
  • 2021-04-02
  • 2022-12-23
  • 2021-06-29
猜你喜欢
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
相关资源
相似解决方案