diff --git a/src/views/modules/eam/com_project_proof_record.vue b/src/views/modules/eam/com_project_proof_record.vue index 31d06b0..c44ee72 100644 --- a/src/views/modules/eam/com_project_proof_record.vue +++ b/src/views/modules/eam/com_project_proof_record.vue @@ -2323,12 +2323,12 @@ return } // Office文件不支持预览 - if (lowerType === 'doc' || lowerType === 'ppt' || lowerType === 'pptx') { + if (lowerType === 'ppt' || lowerType === 'pptx') { this.$message.warning('该文件格式暂不支持预览,请下载后查看') return } // Word / Excel 通过后端转 PDF 后预览 - if (lowerType === 'docx') { + if (lowerType === 'doc' || lowerType === 'docx') { type = 'word' } else { type = 'excel'