杨哲调试
This commit is contained in:
parent
04ec28d2cb
commit
c45cd58b59
|
@ -238,12 +238,12 @@ export default {
|
|||
|
||||
|
||||
params.picturesDto = this.imageList;
|
||||
uni.showModal({
|
||||
title: "查看imageList",
|
||||
content: (JSON.stringify(params)),
|
||||
showCancel: true,
|
||||
success: function (res) {},
|
||||
});
|
||||
// uni.showModal({
|
||||
// title: "查看imageList",
|
||||
// content: (JSON.stringify(params)),
|
||||
// showCancel: true,
|
||||
// success: function (res) {},
|
||||
// });
|
||||
// return
|
||||
const res2 = await UploadArea(params);
|
||||
uni.showModal({
|
||||
|
@ -252,7 +252,7 @@ export default {
|
|||
showCancel: true,
|
||||
success: function (res) {},
|
||||
});
|
||||
return
|
||||
// return
|
||||
if (res2.succeed) {
|
||||
// 成功的处理
|
||||
uni.showToast({ title: "上传成功", icon: "success", duration: 1500 });
|
||||
|
@ -262,9 +262,9 @@ export default {
|
|||
});
|
||||
}, 1500);
|
||||
}
|
||||
// else {
|
||||
// uni.showToast({ title: res2.error || "上传失败", icon: "none" });
|
||||
// }
|
||||
else {
|
||||
uni.showToast({ title: res2.error || "上传失败", icon: "none" });
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue