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'