From 2c947a24d56801c4c48c5d6ac7c43f1ede04d3d7 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Thu, 12 Sep 2024 15:39:47 +0800
Subject: [PATCH] feat: 大厅来访完善

---
 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