king
2023-05-13 93f67eceb286067a6ec5bbd747147f4824c1c6d2
src/menu/components/card/cardcomponent/index.jsx
@@ -121,6 +121,7 @@
  }
  
  addElement = () => {
    const { cards } = this.props
    const { card } = this.state
    let newcard = {}
@@ -133,6 +134,8 @@
    if (card.$cardType === 'extendCard' && card.setting.cardRole === 'header') {
      newcard.datatype = 'static'
    } else if (cards.subtype === 'propcard' && cards.wrap.datatype === 'static') {
      newcard.datatype = 'static'
    }
    // 注册事件-添加元素