Home > Web Front-end > uni-app > body text

How to remove the top back button in uniapp

藏色散人
Release: 2023-01-13 00:44:30
Original
11403 people have browsed it

Uniapp method to remove the top return button: first find the pages.json file in the project root directory; then find the object in the pages array to delete the return button at the top bar of the page; finally add "" under the object style autoBackButton ":false" can be used.

How to remove the top back button in uniapp

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

Recommended (free): uni-app tutorial

Delete the default return button on the top title bar of uni-app

1. Find the pages.json file in the project root directory

2. Find the object in the pages array where you want to delete the return key of the top bar of the page

3. In the object Add

"app-plus": {  //uni-app项目对应节点名称为"app-plus"
	 "titleNView": {  
		 "autoBackButton":false
		 }	
  }
Copy after login

under style

The above is the detailed content of How to remove the top back button in uniapp. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template