http请求修改

This commit is contained in:
姚亚男
2021-10-19 18:04:22 +08:00
parent 06b5ac09db
commit 15a27091a8
17 changed files with 78 additions and 43 deletions
+2 -3
View File
@@ -124,12 +124,12 @@ Component({
success: function (res) {
imgids.push(JSON.parse(res.data).result.id)
count++;
//如果是最后一张,则隐藏等待中
//如果是最后一张,则隐藏等待中
if (count == tempFilePaths.length) {
wx.hideToast();
that.triggerEvent("getIds",imgids)
}
},
fail: function (res) {
wx.hideToast();
@@ -144,7 +144,6 @@ Component({
}
}
},
fail(err) {
console.log("失败", err);
}