diff --git a/packages/engine-render/src/components/sheets/sheet-skeleton.ts b/packages/engine-render/src/components/sheets/sheet-skeleton.ts index d7189353e3a6..2a18f710337f 100644 --- a/packages/engine-render/src/components/sheets/sheet-skeleton.ts +++ b/packages/engine-render/src/components/sheets/sheet-skeleton.ts @@ -1612,6 +1612,9 @@ export class SpreadsheetSkeleton extends Skeleton { } for (let r = startRow; r <= endRow; r++) { + if (this.worksheet.getRowVisible(r) === false) { + continue; + } for (let c = startColumn; c <= endColumn; c++) { this._setCellStylesCache(r, c); }