We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35c62b5 commit e140373Copy full SHA for e140373
src/table/lock.jsx
@@ -513,7 +513,9 @@ export default function lock(BaseComponent) {
513
if (this.isLock()) {
514
this.tableInc.props.dataSource.forEach((item, index) => {
515
// record may be a string
516
- const rowIndex = typeof item === 'object' && '__rowIndex' in item ? item.__rowIndex : index;
+ const rowIndex = `${typeof item === 'object' && '__rowIndex' in item ? item.__rowIndex : index}${
517
+ item.__expanded ? '_expanded' : ''
518
+ }`;
519
520
// 同步左侧的锁列
521
this.setRowHeight(rowIndex, 'left');
0 commit comments