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