From 9f705a54328c4b59ad9566c521bc6e0e7577acb3 Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Fri, 13 Sep 2024 19:10:30 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master

---
 gz-customerSystem/src/views/register/matterDetail/NewFileCheck.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gz-customerSystem/src/views/register/matterDetail/NewFileCheck.jsx b/gz-customerSystem/src/views/register/matterDetail/NewFileCheck.jsx
index e1a9b8e..3f7d827 100644
--- a/gz-customerSystem/src/views/register/matterDetail/NewFileCheck.jsx
+++ b/gz-customerSystem/src/views/register/matterDetail/NewFileCheck.jsx
@@ -120,9 +120,9 @@
 						{props.menuList?.map(item => {
 							return <SubMenu
 								key={item.id}
-								title={item.ownerTypeName + `(${item.fileInfoList && item.fileInfoList.length || 0})`}
+								title={item.ownerTypeName + `(${item.fileList && item.fileList.length || 0})`}
 							>
-								{item.fileInfoList?.map(res => {
+								{item.fileList?.map(res => {
 									return <MenuItem key={res.id} onClick={() => { clickItem(res) }}>{res.trueName}</MenuItem>
 								})}
 							</SubMenu>
@@ -140,7 +140,7 @@
 							<div style={{ width: '100%', height: '470px' }}>
 								{
 									itemData.suffix === 'pdf' ?
-										<embed src="fileUrl" type="application/pdf" width="100%" height="100%"></embed>
+										<embed src={fileUrl} type="application/pdf" width="100%" height="100%"></embed>
 										:
 										<img src={fileUrl} alt="" style={{ width: '100%', height: '100%' }} />
 								}

--
Gitblit v1.8.0