src/menu/components/table/base-table/columns/index.jsx
@@ -324,9 +324,17 @@ col.subcols = [] } else if (col.type === 'index') { col.label = '序号' } else if (col.type === 'number') { col.Width = 80 } _columns.splice(hoverIndex, 0, col) let hIndex = +hoverIndex if (_columns.length > 0 && hIndex + 1 === _columns.length) { _columns.push(col) } else { _columns.splice(hIndex, 0, col) } this.setState({ columns: _columns