From 8f394e7ef20cc0abba3f47c23a63b069e9dd0e45 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 19 十月 2022 15:09:30 +0800
Subject: [PATCH] 2022-10-19

---
 src/menu/components/card/cardcellcomponent/index.jsx |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/menu/components/card/cardcellcomponent/index.jsx b/src/menu/components/card/cardcellcomponent/index.jsx
index 2cb20e5..8ab612e 100644
--- a/src/menu/components/card/cardcellcomponent/index.jsx
+++ b/src/menu/components/card/cardcellcomponent/index.jsx
@@ -99,9 +99,7 @@
 
     if (cardCell.uuid !== parentId) return
 
-    const { elements } = this.state
-
-    let _elements = elements.map(item => {
+    let _elements = this.state.elements.map(item => {
       if (keys.includes(item.uuid)) {
         return this.resetCardStyle(item, {...item.style, ...style})
       }

--
Gitblit v1.8.0