From a638a7918a2d05e343253dff9158ce0379a47bd4 Mon Sep 17 00:00:00 2001
From: dminyi <1301963064@qq.com>
Date: Sun, 08 Sep 2024 11:26:27 +0800
Subject: [PATCH] ai接口对接

---
 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