king
2023-06-10 f155ee9b2db0f4eee687b53fd2f09bd3ebb02677
src/menu/components/card/cardcomponent/index.jsx
@@ -121,6 +121,7 @@
  }
  
  addElement = () => {
    const { cards } = this.props
    const { card } = this.state
    let newcard = {}
@@ -132,6 +133,8 @@
    newcard.height = 1
    if (card.$cardType === 'extendCard' && card.setting.cardRole === 'header') {
      newcard.datatype = 'static'
    } else if (cards.subtype === 'propcard' && cards.wrap.datatype === 'static') {
      newcard.datatype = 'static'
    }
@@ -283,6 +286,7 @@
    if (element.copyType === 'action') {
      element.eleType = 'button'
      element.width = element.width || 12
    }
    element.uuid = _uuid