且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

登录后隐藏ion-nav-bar且登录后没有后退按钮的好模式?

更新时间:2023-12-04 11:09:40

在离子视图中,您需要添加hide-nav-bar指令并将其设置为true才能在此页面上将其隐藏. 像这样

To your ion-view, you need to add the hide-nav-bar directive and set it to true to hide it on this page. Like so

<ion-view hide-nav-bar="true">

进入视图后,这将隐藏整个导航栏

This will hide the whole nav-bar when you enter the view