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' } // 注册事件-添加元素