小程序onLoad中调用wx.hideLoading()无法关闭Bug
发布于 5 年前 作者 yang67 5567 次浏览 来自 问答

在onLoad中执行showLoading再执行hideLoading无法关闭加载状态,请问什么时候能修复啊?

4 回复

预计今天会发patch修复,可以留意一下

目前三种方法规避:

  1. 下掉代码中所有loading 重新提交审核。
  2. 在onReady中调用。不要在onLoad中调用
  3. setTimeout(() => { wx.hideLoading(); }, 500)

我们也是,昨天还好好的,今天突然就出问题了。

应该是你搞错了

回到顶部