取消弹窗提示

This commit is contained in:
李彪 2025-05-06 09:37:07 +08:00
parent 151d801dc8
commit cb7fdf8af4
1 changed files with 6 additions and 6 deletions

View File

@ -233,12 +233,12 @@ export default {
if (!data) { if (!data) {
return uni.showToast({ title: "未传入参数 uploadFn", icon: "none" }); return uni.showToast({ title: "未传入参数 uploadFn", icon: "none" });
} }
uni.showModal({ // uni.showModal({
title: "查看uploadFn", // title: "uploadFn",
content: JSON.stringify(data) || "未传入参数 initFn", // content: JSON.stringify(data) || " initFn",
showCancel: true, // showCancel: true,
success: function (res) {}, // success: function (res) {},
}); // });
this.form.url = BASE_URL + "/uploads/" + data[0].path; this.form.url = BASE_URL + "/uploads/" + data[0].path;
}, },