Home >Web Front-end >uni-app >How to remove the top back button in uniapp
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.
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 } }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!