From f66e19dd13af07ee466306632ad43c72f1f16ae7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 26 五月 2021 14:49:55 +0800
Subject: [PATCH] 2021-05-26

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

diff --git a/src/menu/components/card/cardcellcomponent/index.jsx b/src/menu/components/card/cardcellcomponent/index.jsx
index cfa8777..f45ca80 100644
--- a/src/menu/components/card/cardcellcomponent/index.jsx
+++ b/src/menu/components/card/cardcellcomponent/index.jsx
@@ -226,7 +226,7 @@
    * @description 鍏冪礌缂栬緫锛岃幏鍙栧厓绱犺〃鍗曚俊鎭�
    */
   handleElement = (card) => {
-    const { cards } = this.props
+    const { cards, cardCell } = this.props
 
     if (card.eleType === 'button') {
       this.handleAction(card)
@@ -234,7 +234,7 @@
       this.setState({
         visible: true,
         card: card,
-        formlist: getCardCellForm(card, cards.type, cards.subtype)
+        formlist: getCardCellForm(card, cards.type, cards.subtype, cardCell)
       })
     }
   }
@@ -469,7 +469,7 @@
     const { cards } = this.props
     let btn = fromJS(item).toJS()
 
-    if ((sessionStorage.getItem('style-control') && sessionStorage.getItem('style-control') !== 'false')) return
+    if ((sessionStorage.getItem('style-control') && sessionStorage.getItem('style-control') === 'true')) return
 
     if (btn.eleType === 'button') {
       if (btn.OpenType === 'pop') {

--
Gitblit v1.8.0