| | |
| | | } |
| | | |
| | | getWrapForms = () => { |
| | | const { wrap, columns } = this.state.card |
| | | const { wrap, columns, action } = this.state.card |
| | | |
| | | return getWrapForm(wrap, columns) |
| | | return getWrapForm(wrap, columns, action.findIndex(item => item.Ot === 'requiredSgl') > -1) |
| | | } |
| | | |
| | | updateWrap = (res) => { |
| | |
| | | render() { |
| | | const { card } = this.state |
| | | let _style = resetStyle(card.style) |
| | | if (card.wrap.lineHeight) { |
| | | _style['--mk-tree-line-height'] = card.wrap.lineHeight + 'px' |
| | | } |
| | | |
| | | return ( |
| | | <div className="menu-tree-box" style={_style} onClick={this.clickComponent} id={card.uuid}> |