fix: 修复crud2 列选中问题

This commit is contained in:
zhangtao07 2024-01-24 20:15:10 +08:00
parent c50e2004a7
commit 82bd6a3d75

View File

@ -300,7 +300,7 @@ export default class Head extends React.PureComponent<Props> {
colIndex === data.length - 1 colIndex === data.length - 1
})} })}
depth={item.depth} depth={item.depth}
col={cIndex > -1 ? cIndex.toString() : undefined} col={String(colIndex)}
> >
{typeof item.title === 'function' {typeof item.title === 'function'
? item.title(children) ? item.title(children)