From 2190c20e071e1e8d42c49f369095bbaa5a0c4b0a Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Thu, 14 Dec 2023 10:14:57 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9=E4=BC=81=E6=A0=87?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=B5=81=E7=A8=8B=E4=BF=AE=E6=94=B9=E5=8D=95?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=B7=A6=E4=BE=A7=E6=96=87=E4=BB=B6=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E5=8A=A0doc=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../enterpriseStandardChange/modules/UpdateListModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))}`