From d2009f9859906999750ce90b69c4521397359c0f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 10 七月 2024 14:53:07 +0800
Subject: [PATCH] Merge branch 'develop'

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

diff --git a/src/menu/components/card/cardcellcomponent/index.jsx b/src/menu/components/card/cardcellcomponent/index.jsx
index 693f87a..5f5bbbf 100644
--- a/src/menu/components/card/cardcellcomponent/index.jsx
+++ b/src/menu/components/card/cardcellcomponent/index.jsx
@@ -256,14 +256,9 @@
     } else if (_card.eleType === 'button') { // 鎷嗗垎style
       _card.style = fromJS(style).toJS()
 
-      if (style.float === 'center') {
-        delete _card.style.float
-      } else if (style.float) {
+      if (style.float) {
         _card.wrapStyle = {textAlign: style.float}
         delete _card.style.float
-      }
-      if (style.textAlign === 'center') {
-        delete _card.style.textAlign
       }
       if (style.minHeight === '28px') {
         delete _card.style.minHeight

--
Gitblit v1.8.0