движок 1

This commit is contained in:
2025-07-29 08:09:04 +03:00
parent 4bc8d5753f
commit e1e4c89a18

View File

@@ -563,7 +563,9 @@ export class Workbook {
} }
getValue(qualifiedName: string): CellValue { getValue(qualifiedName: string): CellValue {
if (this._dirty.has(qualifiedName)) { // Исправление: пересчитываем если ВООБЩЕ есть грязные ячейки,
// а не только если конкретная запрашиваемая ячейка грязная
if (this._dirty.size > 0) {
this.recalc() this.recalc()
} }
const value = this.getCell(qualifiedName).value const value = this.getCell(qualifiedName).value