diff --git a/pages/index/uploadPhoto.vue b/pages/index/uploadPhoto.vue index 8a2fe72..14acf07 100644 --- a/pages/index/uploadPhoto.vue +++ b/pages/index/uploadPhoto.vue @@ -252,9 +252,9 @@ export default { }); }, 1500); } - // else { - // uni.showToast({ title: res2.error || "上传失败", icon: "none" }); - // } + else { + uni.showToast({ title: res2.error || "上传失败", icon: "none" }); + } }, }, };