使用wx.hideLoading的时候,showToast也会跟着隐藏?
发布于 6 年前 作者 xiulanhou 6979 次浏览 来自 问答

1.在接口请求时使用

wx.showLoading({

title: ‘数据加载中’,

mask: true

})

2.接口返回数据时使用

wx.hideLoading隐藏showLoading

后面用showToast显示返回的信息,设置了显示3秒,但是直接闪一下就隐藏。

这个问题存在很久了官方不打算修复吗?????

2 回复

hideLoading再showToast会有问题?要有先后顺序

回到顶部