Preface: When we are not logged in, we will jump to the login page, but at this time there will be a button to jump to the home page in the upper left corner of the login page, but we do not want this button to return to the home page
Before removal:
After removal:
code:
onShow() {
wx.hideHomeButton()
},