Skip to content

Commit 97f98a3

Browse files
loadchangehazel54
authored andcommitted
fix: tablebody store missing
1 parent c02d825 commit 97f98a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/table/TableBody.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export default class TableBody extends Component<TableBodyProps> {
203203
), this.context.tableStore.isRowExpanding(row, rowKey) && (
204204
<tr key={`${rowKey}Expanded`}>
205205
<td
206-
colSpan={store.columns.length}
206+
colSpan={tableStoreState.columns.length}
207207
className="el-table__expanded-cell"
208208
>
209209
{typeof props.renderExpanded === 'function' && props.renderExpanded(row, rowIndex)}

0 commit comments

Comments
 (0)