From 8f6b3d26bde4e22773cc53386dfbae669a7472ed Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 13 十月 2020 09:16:21 +0800
Subject: [PATCH] 2020-10-13

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

diff --git a/src/menu/components/card/cardcellcomponent/index.jsx b/src/menu/components/card/cardcellcomponent/index.jsx
index 3e9eefb..e408ef6 100644
--- a/src/menu/components/card/cardcellcomponent/index.jsx
+++ b/src/menu/components/card/cardcellcomponent/index.jsx
@@ -375,7 +375,11 @@
       let _elements = elements.map(cell => {
         if (cell.uuid === ele.uuid) {
           ele.style = cell.style || {}
-          ele.btnstyle = cell.btnstyle || {}
+          if (ele.eleType === 'splitline' && cell.eleType !== 'splitline') {
+            ele.style.paddingTop = '5px'
+            ele.style.paddingBottom = '5px'
+          }
+          
           return ele
         }
         return cell
@@ -401,6 +405,7 @@
         if (cell.uuid === ele.uuid) {
           ele.eleType = 'button'
           ele.style = cell.style || {}
+          ele.btnstyle = cell.btnstyle || {}
           return ele
         }
 
@@ -524,6 +529,7 @@
         >
           <ActionForm
             dict={dict}
+            type="card"
             card={card}
             formlist={this.state.formlist}
             inputSubmit={this.handleActionSubmit}

--
Gitblit v1.8.0