king
2025-01-16 325aa13d3b61d1c066f8fcab107003ef36713df3
src/menu/components/card/cardcellcomponent/index.jsx
@@ -151,6 +151,9 @@
        options = ['margin', 'float']
      } else {
        options.push('width', 'minHeight', 'float')
        if (element.OpenType !== 'form') {
          options.push('display')
        }
        _style.minHeight = _style.minHeight || '28px'
        _style.textAlign = _style.textAlign || 'center'
      }
@@ -255,6 +258,10 @@
      _card.innerHeight = _card.barHeight + (_card.displayValue === 'true' ? fontSize + 2 : 0)
    } else if (_card.eleType === 'button') { // 拆分style
      _card.style = fromJS(style).toJS()
      if (_card.OpenType === 'form') {
        delete _card.style.display
      }
      if (style.float) {
        _card.wrapStyle = {textAlign: style.float}
@@ -511,6 +518,10 @@
            if (cell.OpenType !== 'form') {
              res.style = {}
            }
            if (res.style) {
              delete res.style.display
            }
          // } else if (res.class !== cell.class || res.show !== cell.show || !res.style) {
          } else if (res.class !== cell.class || !res.style) {
            if (res.class) {