forked from gzzfw/frontEnd/gzDyh

xusd
2024-09-13 466f59f771bc9306079728ba4363f4b204d5beca
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%' }} />
                        }