| | |
| | | } |
| | | } |
| | | |
| | | if (card.type === 'antvX6') { // 测试 |
| | | return ( |
| | | <div className={'ant-col mk-component-card ant-col-' + (card.width || 24)} style={style}> |
| | | <AntvX6 card={card} updateConfig={updateConfig} deletecomponent={delCard}/> |
| | | </div> |
| | | ) |
| | | } |
| | | // if (card.type === 'antvX6') { // 测试 |
| | | // return ( |
| | | // <div className={'ant-col mk-component-card ant-col-' + (card.width || 24)} style={style}> |
| | | // <AntvX6 card={card} updateConfig={updateConfig} deletecomponent={delCard}/> |
| | | // </div> |
| | | // ) |
| | | // } |
| | | |
| | | return ( |
| | | <div className={'ant-col mk-component-card ant-col-' + (card.width || 24)} ref={node => drag(drop(node))} style={style}> |