fix: fixed-cell

This commit is contained in:
devezhao 2020-03-23 17:51:05 +08:00
parent 214037ebe2
commit 00452b87a4

View file

@ -227,7 +227,7 @@ class RbList extends React.Component {
const c = CellRenders.render(cellVal, type, width, cellKey + '.' + field.field)
if (index === 0 && !$.browser.msie) {
return React.cloneElement(c, { className: 'column-fixed column-fixed-2nd' })
return React.cloneElement(c, { className: `${c.props.className} column-fixed column-fixed-2nd` })
}
return c
}