@@ -20,7 +20,6 @@ App({
"fclienttype": "MOBILE"
}
}).then(res => {
- console.log("banner", res)
that.globalData.bannerDataList = res.data;
})
@@ -74,5 +74,10 @@
"navigationBarTextStyle": "white"
},
"sitemapLocation": "sitemap.json",
- "lazyCodeLoading": "requiredComponents"
+ "lazyCodeLoading": "requiredComponents",
+ "networkTimeout": {
+ "request": 10000,
+ "downloadFile": 10000
+ },
+ "debug": true
@@ -27,7 +27,12 @@ class HTTP {
wx.hideLoading()
fial: (err) => {
+ console.log(123)
reject(err);
+ wx.showToast({
+ title: '请求失败,请稍后再试',
+ icon: 'none'
+ })
wx.hideLoading();