king
2023-08-27 da64ab0923bf8817fc8599a6e37b953ce38f64c8
src/menu/components/card/doublecardcomponent/index.jsx
@@ -127,6 +127,7 @@
    if (type === 'sub') {
      _style = fromJS(card.backStyle).toJS()
    } else {
      options.push('clear')
      _style = fromJS(card.style).toJS()
    }
@@ -264,8 +265,16 @@
      mainBox = 'flex-card '
    }
    let _style_ = null
    if (card.style.clear === 'left') {
      _style_ = {clear: 'left'}
    } else if (card.style.clear === 'right') {
      _style_ = {float: 'right'}
    }
    return (
      <Col span={card.setting.width || 24}>
      <Col span={card.setting.width || 24} style={_style_}>
        <div className="card-item-wrap" style={_wrapStyle}>
          <div className={`card-item ${card.setting.btnControl || ''} ${checkAll} mk-${card.setting.display} ${mainBox}`} style={_style} onDoubleClick={(e) => {e.stopPropagation(); this.doubleClickCard()}} id={card.uuid}>
            <span className="circle-select"></span>