用模拟器模拟uniapp的应用时,如何去掉顶部的原生窗口

打开看到pages的配置项

在style中去掉原本旧的默认值,加入"navigationStyle": "custom"

 

 

"style" :                                                                                    
            {
                "navigationStyle": "custom"
            }

  

 

posted @ 2023-02-21 11:44  文采呱呱  阅读(21)  评论(0编辑  收藏  举报