From b5364600d98c8749caba625ec813d4fe670d0a19 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 16 十二月 2021 17:29:55 +0800
Subject: [PATCH] 2021-12-16

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

diff --git a/src/menu/components/card/cardcellcomponent/index.jsx b/src/menu/components/card/cardcellcomponent/index.jsx
index 7686036..551555c 100644
--- a/src/menu/components/card/cardcellcomponent/index.jsx
+++ b/src/menu/components/card/cardcellcomponent/index.jsx
@@ -167,11 +167,11 @@
 
     if (comIds.length !== 3 || comIds[0] !== cards.uuid || comIds[1] !== cardCell.uuid || !card) return
 
-    if (card.eleType === 'button') {
-      if ((style.paddingLeft || style.paddingRight) && !style.width) {
-        style.width = 'auto'
-      }
-    }
+    // if (card.eleType === 'button') {
+    //   if ((style.paddingLeft || style.paddingRight) && !style.width) {
+    //     style.width = 'auto'
+    //   }
+    // }
 
     let _card = this.resetCardStyle(card, style)
 

--
Gitblit v1.8.0