From c7df918b8747e99837b0c004eb58f6d724c60f6d Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Mon, 2 Feb 2026 10:26:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81XML=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=A2=84=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/erf/components/erfAttachmentManager.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/modules/erf/components/erfAttachmentManager.vue b/src/views/modules/erf/components/erfAttachmentManager.vue index b8e3fd2..f1bf153 100644 --- a/src/views/modules/erf/components/erfAttachmentManager.vue +++ b/src/views/modules/erf/components/erfAttachmentManager.vue @@ -422,6 +422,11 @@ export default { type = 'text/plain;charset=utf-8' } + // XML类型 + if (fileType === 'xml') { + type = 'application/xml;charset=utf-8' + } + // Excel类型 if (fileType === 'xlsx' || fileType === 'xls') { type = 'excel'