问题模块 |
---|
API和组件 |
例如 :
success (res) => {
wx.showToast({ title: 'hello', duration: 2000000 })
}) |
请求成功后, toast不会显示,或者一闪而过。
网友回复
Addremote:
我是考虑,出错的话, 页面的loading就会 一直转
Charon:
把complete里面的 wx.hideLoading({})去掉
问题模块 |
---|
API和组件 |
例如 :
success (res) => {
wx.showToast({ title: 'hello', duration: 2000000 })
}) |
请求成功后, toast不会显示,或者一闪而过。
我是考虑,出错的话, 页面的loading就会 一直转
把complete里面的 wx.hideLoading({})去掉