Skip to content

Commit c213c83

Browse files
authored
fix: nest table throw error #4600
close #4600
1 parent 8c122c7 commit c213c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-table/src/TableCell.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default {
5454
component: BodyCell,
5555
} = this;
5656
const fixedInfoList = this.store.fixedInfoList || [];
57-
const fixedInfo = fixedInfoList[this.colIndex];
57+
const fixedInfo = fixedInfoList[this.colIndex] || {};
5858
const { fixLeft, fixRight, firstFixLeft, lastFixLeft, firstFixRight, lastFixRight } = fixedInfo;
5959
// ====================== Fixed =======================
6060
const fixedStyle = {};

0 commit comments

Comments
 (0)