diff --git a/src/views/workCenter/enterpriseStandardChange/modules/UpdateListModal.vue b/src/views/workCenter/enterpriseStandardChange/modules/UpdateListModal.vue index d5f39854..80da22a6 100644 --- a/src/views/workCenter/enterpriseStandardChange/modules/UpdateListModal.vue +++ b/src/views/workCenter/enterpriseStandardChange/modules/UpdateListModal.vue @@ -166,7 +166,7 @@ export default { // pdf预览 const url = previewPdf(file.id) this.iframeSrc = url - } else if (fileSuffix === 'docx') { + } else if (fileSuffix === 'docx' || fileSuffix === 'doc') { const fileFullUrl = `${window._CONFIG.domianWebSocketURL}/sys/common/download/${file.id}?token=${Vue.ls.get(ACCESS_TOKEN)}&fullfilename=${file.fileName}` // word文件仍使用KKFile进行预览 const url = `${window._CONFIG.onlinePreviewDomainURL}?url=${encodeURIComponent(Base64.encode(fileFullUrl))}`