The settings in the page.json page are as follows: Add autoBacButton: false
{
"path" : "pages/newlogin/newlogin",
"style" :
{
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false,
"app-plus":{
"titleNView":{
"autoBackButton":false
}
}
}
}
If the above settings do not take effect, you can set as follows:
onReady() {
const a = document.getElementsByClassName('uni-page-head-hd')[0]
a.style.display = 'none';
},