From 3efcd38c47c327dcd8bd22cd523381d79d08770e Mon Sep 17 00:00:00 2001
From: dminyi <1301963064@qq.com>
Date: Sat, 07 Sep 2024 16:56:44 +0800
Subject: [PATCH] 上传附件
---
gz-customerSystem/src/components/personCard/DetailDialog.jsx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gz-customerSystem/src/components/personCard/DetailDialog.jsx b/gz-customerSystem/src/components/personCard/DetailDialog.jsx
index f241b8f..5c6877a 100644
--- a/gz-customerSystem/src/components/personCard/DetailDialog.jsx
+++ b/gz-customerSystem/src/components/personCard/DetailDialog.jsx
@@ -336,7 +336,7 @@
return {
...res,
value: <>
- {data[res.field].map(item => {
+ {data[res.field]?.map(item => {
return <a target="_blank">
<img src={link} alt="" className="title-file" />{item.name}
</a>
--
Gitblit v1.8.0