wx.showLoading未配置wx.hideLoading()就关闭了?
发布于 5 年前 作者 pengjing 13100 次浏览 来自 官方Issues
wx.showLoading({
  title: '加载中',
})

onShow中 只写了这一句 加载完页面就就自动关闭了 并未写

wx.hideLoading()
3 回复

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

wx.showLoading 和 wx.showToast 同时只能显示一个

我之前也遇到过类似问题,最后排查是showLoading和showToast混用导致的,如果是这种情况可以参考这篇文章https://developers.weixin.qq.com/community/develop/article/doc/0004a4d49d0e883b13692633c51013

回到顶部