|
|
@@ -37,7 +37,7 @@ const http = ({
|
|
|
timeout: 600000,
|
|
|
...other,
|
|
|
complete: (res) => {
|
|
|
- // console.log(res,'res')
|
|
|
+ // console.log(res.data,'res~~~')
|
|
|
if (showLoading) {
|
|
|
uni.hideLoading();
|
|
|
}
|
|
|
@@ -64,7 +64,7 @@ const http = ({
|
|
|
}, 1500);
|
|
|
} else if (res.data.code == -1) {
|
|
|
wx.showToast({
|
|
|
- title: res.data.message,
|
|
|
+ title: res.data.message || "数据获取失败",
|
|
|
icon: "none",
|
|
|
});
|
|
|
reject(res.data)
|