From e92ddbcdc1cb990de02621bccfa62cc067afd3b9 Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Mon, 09 Sep 2024 15:26:24 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master
---
gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
index 82cf116..decb012 100644
--- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -49,8 +49,7 @@
}, [fakeData])
useEffect(() => {
- console.log(props.partyList);
- setFakeData(props.partyList.map(item => {
+ setFakeData(props.partyList?.map(item => {
const fileInfoList = item.fileInfoList
let file = [];//身份证明材料、企业登记材料
let file1 = [];//法人、机构身份证明材料、代理人授权委托书
@@ -75,7 +74,7 @@
file,
file1
}
- }))
+ }) || [])
}, [props.partyList])
//获取当前时间
@@ -391,7 +390,7 @@
<div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h4>事件材料</h4>
</Space>
</Col>
- <FileTable mainId={props.mainId} />
+ <FileTable mainId={props.mainId} fileInfoList={props.fileInfoList}/>
<DocumentScanner
visible={scanFile}
--
Gitblit v1.8.0