From fe5dc955911feb6c376298e618de673da166fcab Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 17 十一月 2021 20:05:30 +0800
Subject: [PATCH] Merge branch 'master' into bms

---
 src/tabviews/custom/components/card/cardcellList/index.jsx |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx
index cfd30dd..a1160b1 100644
--- a/src/tabviews/custom/components/card/cardcellList/index.jsx
+++ b/src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -639,6 +639,13 @@
         </Col>
       )
     } else if (card.eleType === 'button') {
+      if (card.control === 'hidden') {
+        let s = data[card.controlField]
+        if (s === card.controlVal || (card.controlVal && card.controlVal.split(',').includes(s))) {
+          return null
+        }
+      }
+      
       let _data = [data]
 
       if (data.$$type === 'extendCard' || data.$$empty) {

--
Gitblit v1.8.0