From c213c83844ecc58fd5afe56bb29652e2a0ab2da4 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 1 Sep 2021 14:23:59 +0800 Subject: [PATCH] fix: nest table throw error #4600 close #4600 --- components/vc-table/src/TableCell.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-table/src/TableCell.jsx b/components/vc-table/src/TableCell.jsx index 7312883c6..71280e379 100644 --- a/components/vc-table/src/TableCell.jsx +++ b/components/vc-table/src/TableCell.jsx @@ -54,7 +54,7 @@ export default { component: BodyCell, } = this; const fixedInfoList = this.store.fixedInfoList || []; - const fixedInfo = fixedInfoList[this.colIndex]; + const fixedInfo = fixedInfoList[this.colIndex] || {}; const { fixLeft, fixRight, firstFixLeft, lastFixLeft, firstFixRight, lastFixRight } = fixedInfo; // ====================== Fixed ======================= const fixedStyle = {};