king
2024-04-24 5d8706040a328c007734ad4916b034d71696eaab
src/menu/components/tree/antd-tree/index.jsx
@@ -181,9 +181,9 @@
  }
  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) => {
@@ -206,6 +206,9 @@
  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}>