From e1d8b67d9219f1631e855542155d6db21aa31a97 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 10 七月 2024 14:23:38 +0800 Subject: [PATCH] 2024-07-10 --- 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