From b86da7496d39f9bb5836e039569aa68027885be8 Mon Sep 17 00:00:00 2001 From: NiSen Date: Thu, 20 Jul 2023 09:27:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/InitiateRecommend.vue | 3 +++ 1 file changed, 3 insertions(+) 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}上传失败`); } };