From a09205214e5cb6803563cb06c6d9f58d68916b73 Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Mon, 16 Sep 2024 22:11:21 +0800
Subject: [PATCH] 调整网格调整,修正头部head数据传输逻辑

---
 gz-customerSystem/src/components/personCard/KeyVisits.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gz-customerSystem/src/components/personCard/KeyVisits.jsx b/gz-customerSystem/src/components/personCard/KeyVisits.jsx
index 35fe67f..0159544 100644
--- a/gz-customerSystem/src/components/personCard/KeyVisits.jsx
+++ b/gz-customerSystem/src/components/personCard/KeyVisits.jsx
@@ -157,10 +157,10 @@
       <div style={{marginBottom: '16px'}}>
         <div><span>来访总数: </span><span style={{ color: '#1a6fb8' }}>{visitMap.visitTotal}</span> 次</div>
         <div><span>来访渠道: </span>{visitMap.channelList.map((item, index) => {
-          return <span>{index !== 0 && '、'}{item.name}<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span>
+          return <span key={index}>{index !== 0 && '、'}{item.name}<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span>
         })}</div>
         <div><span>来访身份:</span>{visitMap.identityList.map((item, index) => {
-          return <span>{index !== 0 && '、'}{item.name}:<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span>
+          return <span key={index}>{index !== 0 && '、'}{item.name}:<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span>
         })}</div>
       </div>
       <TableView

--
Gitblit v1.8.0