From f895e8af9e6a393f71fec0dc26fdf1b9b6616cb4 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 11 十二月 2020 18:53:04 +0800
Subject: [PATCH] 2020-12-11

---
 src/tabviews/custom/components/share/normalTable/index.jsx |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/components/share/normalTable/index.jsx b/src/tabviews/custom/components/share/normalTable/index.jsx
index 584b7c0..e203f3d 100644
--- a/src/tabviews/custom/components/share/normalTable/index.jsx
+++ b/src/tabviews/custom/components/share/normalTable/index.jsx
@@ -344,7 +344,13 @@
           {content && _href ? <a href={_href} target="_blank" rel="noopener noreferrer">{content}</a> : null }
         </div>
       )
-    } else if (col.type === 'custom' || col.type === 'action') {
+    } else if (col.type === 'custom') {
+      style.padding = '0px'
+      resProps.children = (
+        <CardCellComponent data={record} cards={config} elements={col.elements} updateStatus={this.props.updateStatus}/>
+      )
+    } else if (col.type === 'action') {
+      style.padding = '0px 5px'
       resProps.children = (
         <CardCellComponent data={record} cards={config} elements={col.elements} updateStatus={this.props.updateStatus}/>
       )

--
Gitblit v1.8.0