From a7528ad100a98c87a9fa9d1dda2399c6bd700b35 Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Tue, 21 Apr 2026 16:38:55 +0800 Subject: [PATCH] 1.五彩:subBill子从表使用虚拟表格滚动 2.处理预览PFD,使用iframe方式 --- src/components/Common/OfficePreview/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/Common/OfficePreview/index.js b/src/components/Common/OfficePreview/index.js index caf428a..8eeb747 100644 --- a/src/components/Common/OfficePreview/index.js +++ b/src/components/Common/OfficePreview/index.js @@ -15,7 +15,7 @@ const OfficePreview = props => { .pop() .split("_") .pop(); - const fileUrl = `${commonConfig.file_host}file/download?savePathStr=${encodeURIComponent(officeFileUrl)}&sModelsId=100&token=${app.token}`; + const fileUrl = `${commonConfig.file_host}file/downloadView?savePathStr=${encodeURIComponent(officeFileUrl)}&sModelsId=100&token=${app.token}`; const fileType = title .split(".") .pop() @@ -40,7 +40,11 @@ const OfficePreview = props => { }} >