king
2020-12-08 655ac8aef54bc134c1420c19975023182a10cae4
src/templates/zshare/editTable/index.jsx
@@ -165,6 +165,7 @@
    const { data, actions } = this.props
    let columns = fromJS(this.props.columns).toJS()
    if (!actions || actions.length > 0) {
    columns.push({
      title: eTDict['model.operation'],
      dataIndex: 'operation',
@@ -198,6 +199,7 @@
        )
      }
    })
    }
    this.setState({
      data: data || [],
@@ -352,7 +354,7 @@
        cell: EditableCell
      }
    }
    if (!actions || actions.includes('down') || actions.includes('up')) {
    if (!actions || actions.length === 0 || actions.includes('down') || actions.includes('up')) {
      components.body.row = DragableBodyRow
    }