From 49c034a005f22ad6c8a3e0c9828de3176190d06a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 16 六月 2023 18:09:08 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/tabviews/custom/components/card/table-card/index.jsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/card/table-card/index.jsx b/src/tabviews/custom/components/card/table-card/index.jsx
index e8d7904..f453ff7 100644
--- a/src/tabviews/custom/components/card/table-card/index.jsx
+++ b/src/tabviews/custom/components/card/table-card/index.jsx
@@ -222,10 +222,11 @@
 
     if (config.uuid !== menuId) return
     
-    let _data = fromJS(data).toJS().forEach(item => {
+    let _data = fromJS(data).toJS().map(item => {
       if (item.$$uuid === uuid) {
         item[btn.field] = count
       }
+      return item
     })
 
     this.setState({

--
Gitblit v1.8.0