前言 微信7.0.7版本起,当用户打开的小程序最底层页面是非首页时,默认展示“返回首页”按钮 解决方法 开发者可在页面 onShow 中调用 hideHomeButton 方法 进行隐藏 wx.hideHomeButton() 从基础库 2.8.3 开始支持 我们在使用时需要 if (wx.canIUse('hideHomeButton')) { wx.hideHomeButton() }