WeChat Mini Programs's wx.request setting timeout is invalid. Report back immediately after the call fails.

under the premise that WeChat Mini Programs wx.request sets the timeout to 60s, occasionally he jumps into the fail method after calling wx.request, but instead of waiting for the timeout to end, he immediately jumps out of the failure prompt.

I don"t know much about this. Is this a normal phenomenon, or is it the wrong way to configure it?

the timeout setting is configured in app.json according to the official documentation and should not be wrong. Ask the great god for an answer.

Mar.03,2021
Menu