fix: nest table throw error #4600

close #4600
pull/4609/head
tangjinzhou 2021-09-01 14:23:59 +08:00 committed by GitHub
parent 8c122c7ca5
commit c213c83844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {};