From 544148eddae96db824423cd059ebecb9d13c392e Mon Sep 17 00:00:00 2001
From: xusd <330628789@qq.com>
Date: Thu, 19 Jun 2025 20:52:50 +0800
Subject: [PATCH] fix:市平台项目更新

---
 src/views/windowDetail/ApplyInfo.jsx |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/views/windowDetail/ApplyInfo.jsx b/src/views/windowDetail/ApplyInfo.jsx
index 68a3949..938b400 100644
--- a/src/views/windowDetail/ApplyInfo.jsx
+++ b/src/views/windowDetail/ApplyInfo.jsx
@@ -446,10 +446,7 @@
         <div style={{ color: '#1A6FB8' }}>
           {fileData.fileList?.map((result, resIndex) => {
             return <div style={{ display: 'inline-block' }}>
-              {result.suffix === 'pdf' ?
-                <MyPDF name={result.name} fileUrl={result.showUrl} /> :
-                <PreviewImage name={result.name} src={result.showUrl} />
-              }
+              <MyPDF key={resIndex} name={result.name} fileUrl={result.showUrl} fileType={result.suffix} />
               {resIndex !== fileData.fileList?.length - 1 && <>,</>}
             </div>
           }) || '-'}

--
Gitblit v1.8.0