Home  >  Article  >  Web Front-end  >  How to cancel the title bar in uni-app

How to cancel the title bar in uni-app

coldplay.xixi
coldplay.xixiOriginal
2020-12-09 11:30:175242browse

Uniapp method to cancel the title bar: first find the file [pages.json]; then add the relevant code to the file to solve the problem, the code is ["navigationStyle":"custom"].

How to cancel the title bar in uni-app

The operating environment of this tutorial: windows7 system, uni-app2.5.1 version, Dell G3 computer.

Recommended (free): uni-app development tutorial

Uniapp method to cancel the title bar:

How to cancel the title bar in uni-app

How to cancel the title bar in uni-app

Just add a line of "navigationStyle":"custom" code to the pages.json file to solve the problem.

As shown below:

How to cancel the title bar in uni-app

How to cancel the title bar in uni-app

# Related free learning recommendations: Programming Video

The above is the detailed content of How to cancel the title bar in uni-app. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn