mirror of
https://github.com/dream-num/univer.git
synced 2026-10-02 04:24:34 +08:00
fix(sheet): fix row、col style not effect when the cell is null (#6286)
This commit is contained in:
@@ -1457,9 +1457,8 @@ export class SpreadsheetSkeleton extends SheetSkeleton {
|
||||
}
|
||||
|
||||
const cell = this.worksheet.getCell(row, col) || this.worksheet.getCellRaw(row, col);
|
||||
if (!cell) return;
|
||||
|
||||
const style = this.worksheet.getComposedCellStyleByCellData(row, col, cell);
|
||||
if (!cell && !style) return;
|
||||
|
||||
this._setBgStylesCache(row, col, style, options);
|
||||
this._setBorderStylesCache(row, col, style, options);
|
||||
|
||||
Reference in New Issue
Block a user