Remove the applet home button

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()
  },

 

Guess you like

Origin blog.csdn.net/qq_17211063/article/details/131396398