src/templates/zshare/editTable/index.jsx
@@ -507,7 +507,7 @@ } render() { const { actions } = this.props const { actions, indexShow } = this.props let components = { body: { @@ -545,12 +545,14 @@ } }) columns.unshift({ title: '序号', dataIndex: '$index', className: 'mk-index', width: '60px', }) if (indexShow !== false) { columns.unshift({ title: '序号', dataIndex: '$index', className: 'mk-index', width: '60px', }) } const data = this.state.data.map((item, index) => { item.$index = index + 1