From 96fad333c7f887717695f54e0db9e0966e81a7d6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 16 六月 2023 18:08:30 +0800
Subject: [PATCH] 2023-06-16

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

diff --git a/src/tabviews/custom/components/timeline/normal-timeline/index.jsx b/src/tabviews/custom/components/timeline/normal-timeline/index.jsx
index d75ebe9..5126d9e 100644
--- a/src/tabviews/custom/components/timeline/normal-timeline/index.jsx
+++ b/src/tabviews/custom/components/timeline/normal-timeline/index.jsx
@@ -215,10 +215,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