摘要: 1、在app.json加入一句 "networkTimeout": { "request": 10000 } 设置超时时间,单位毫秒 2、请求 wx.request时超时会进入fail方法 fail: function () { wx.hideLoading(); wx.showModal({ ti 阅读全文
posted @ 2019-06-12 11:00 蒲涛- 阅读(14083) 评论(0) 推荐(0) 编辑