| | |
| | | name: card.name, |
| | | subtype: card.subtype, |
| | | setting: { interType: 'system' }, |
| | | wrap: { title: '', name: card.name, width: card.width || 24, color: '#1890ff', mode: 'left' }, |
| | | wrap: { title: '', name: card.name, direction: 'vertical', width: card.width || 24, color: '#1890ff', mode: 'left' }, |
| | | style: { marginLeft: '0px', marginRight: '0px', marginTop: '0px', marginBottom: '0px' }, |
| | | subcards: [{ |
| | | uuid: Utils.getuuid(), |
| | |
| | | |
| | | updateWrap = (res) => { |
| | | delete res.quick |
| | | |
| | | if (res.hmode) { |
| | | res.mode = res.hmode |
| | | delete res.hmode |
| | | } |
| | | |
| | | this.updateComponent({...this.state.card, wrap: res}) |
| | | } |
| | | |