|
@@ -324,7 +324,7 @@ function TaskDetail(props: IPropsType) {
|
|
|
</Row>
|
|
|
)}
|
|
|
|
|
|
- {mandateDetail?.Files && (
|
|
|
+ {mandateDetail?.Files.length > 0 && (
|
|
|
<Row className={styles.infoRow}>
|
|
|
<Col className={styles.fontS24} span={4}>
|
|
|
截图
|
|
@@ -347,9 +347,12 @@ function TaskDetail(props: IPropsType) {
|
|
|
style={{ width: '350px' }}
|
|
|
src={mandateDetail?.Files[0].url}
|
|
|
set={mandateDetail?.Files.map((item) => {
|
|
|
- return {
|
|
|
- src: item.url,
|
|
|
- };
|
|
|
+ if (item) {
|
|
|
+ return {
|
|
|
+ src: item.url,
|
|
|
+ };
|
|
|
+ }
|
|
|
+ return {};
|
|
|
})}
|
|
|
/>
|
|
|
</Col>
|