From 72419e2f826031a158173f46d723a672064e37cd Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 31 八月 2021 22:42:51 +0800
Subject: [PATCH] 2021-08-31

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

diff --git a/src/tabviews/custom/components/card/cardcellList/index.jsx b/src/tabviews/custom/components/card/cardcellList/index.jsx
index 5d1e62b..57972fe 100644
--- a/src/tabviews/custom/components/card/cardcellList/index.jsx
+++ b/src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -299,6 +299,10 @@
         val = data[card.field]
       }
 
+      if (val === '' && card.noValue === 'hide') { // 绌哄�奸殣钘�
+        return null
+      }
+
       if (val !== '' && card.format) {
         if (card.format === 'YYYY-MM-DD' && /^[1-9]\d{3}(-|\/)(0[1-9]|1[0-2])(-|\/)(0[1-9]|[1-2][0-9]|3[0-1])/.test(val)) {
           val = `${val.substr(0, 4)}-${val.substr(5, 2)}-${val.substr(8, 2)}`
@@ -705,7 +709,7 @@
           </Col>
         )
       } else if (card.OpenType === 'funcbutton') {
-        if (card.funcType === 'changeuser') {
+        if (card.funcType === 'changeuser' || card.funcType === 'closetab') {
           return (
             <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
               <ChangeUserButton

--
Gitblit v1.8.0