This commit is contained in:
李鹏宇
2026-03-14 18:58:19 +08:00
parent 383bf5707b
commit c0126a58d0
@@ -55,6 +55,11 @@ class ReceivableReport extends Component {
const columns = this.config.columns || [];
columns.forEach((col) => {
col.cellRenderer = this.linkRender.bind(this);
// 对固定宽度列(如序号列)单独设置 minWidth,避免被 defaultColDef 覆盖
if (col.width && col.flex === 0) {
col.minWidth = col.width;
col.maxWidth = col.width;
}
});
this.gridOptions = {