From a78e279a1af2a810d27feb943d180f3093fa63a6 Mon Sep 17 00:00:00 2001 From: liyj <1003249715@qq.com> Date: Mon, 09 Sep 2024 15:35:51 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh --- 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