[微信小程序]fali can not invoke reLaunch in backgrou [fali can not invoke reLaunch in backgrou]

- 当前 Bug 的表现(可附上截图)

fali can not invoke reLaunch in background




- 预期表现

正常打开

- 复现路径


- 提供一个最简复现 Demo


  • 麻烦提供下复现的代码片段:https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html, 聊天软件而已。
  • wx.reLaunch 不能在后台运行,离开小程序就不行了, 不会浪费电吗?
    • 关键是不知道怎么出的问题,是代码有误还是小程序的问题, 快来给我答疑解惑吧,我需要你呀。
    • 我也知道关了重新开就好了,类似重启,但是得知道问题所在啊,不然页面就会卡在那, 我很难知道你想表达什么?
    • 代码呀 wx.relaunch你放在onHide里面去了 , 这个稍微有点难,给我一点时间