diff --git a/src/components/drawers/InitiateRecommend.vue b/src/components/drawers/InitiateRecommend.vue index 3cc5c303..018c68a7 100644 --- a/src/components/drawers/InitiateRecommend.vue +++ b/src/components/drawers/InitiateRecommend.vue @@ -403,6 +403,9 @@ const handleChange = (info) => { } else if (status === "error") { state.progressColor = 'red' state.status = 'error' + if (info.file.response.message) { + return message.error(`${info.file.response.message},上传失败`); + } message.error(`${info.file.name}上传失败`); } };