king
2021-01-15 ddddb07002201150da9551875c25e75499563249
src/templates/zshare/editTable/index.jsx
@@ -471,8 +471,12 @@
        cell: EditableCell
      }
    }
    let moveprops = {}
    if (actions.includes('move')) {
      components.body.row = DragableBodyRow
      moveprops.moveAble = !this.state.editingKey
      moveprops.moveRow = this.moveRow
    }
    
    const columns = this.state.columns.map(col => {
@@ -509,8 +513,7 @@
              pagination={false}
              onRow={(record, index) => ({
                index,
                moveAble: !this.state.editingKey,
                moveRow: this.moveRow,
                ...moveprops
              })}
            />
          </DndProvider>