@@ -89,10 +89,15 @@ const toUploadImage = (type: string) => {
});
return;
}
- uni.showToast({
- title: res.message || "",
- icon: "none",
+ uni.showModal({
+ title: "提示",
+ content: res.message,
+ showCancel: false, // 如果只需要确定按钮,可以隐藏取消按钮
+ // uni.showToast({
+ // title: res.message || "",
+ // icon: "none",
+ // });
})
.catch((err) => {
uni.showToast({