Browse Source

doc可以预览

master
han\hanst 19 hours ago
parent
commit
436af632da
  1. 4
      src/views/modules/eam/com_project_proof_record.vue

4
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'

Loading…
Cancel
Save