From 3dc246f442305648311eeca85ef8e0ebea2221d6 Mon Sep 17 00:00:00 2001 From: tlartem Date: Tue, 29 Jul 2025 08:11:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=B2=D0=B8=D0=B6=D0=BE=D0=BA=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/feature/excelEngine/excelEngine.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/feature/excelEngine/excelEngine.ts b/src/feature/excelEngine/excelEngine.ts index 9cc777a..40a2ecb 100644 --- a/src/feature/excelEngine/excelEngine.ts +++ b/src/feature/excelEngine/excelEngine.ts @@ -140,7 +140,7 @@ export class Cell { if (!sheet) { return '"#REF!"' } - const cellValue = this.sheet.workbook.getCell(match).evaluate() + const cellValue = this.sheet.workbook.getValue(match) // Только строки оборачиваем в кавычки, числа и булевы значения - нет if (typeof cellValue === 'string') { return `"${cellValue}"` @@ -165,7 +165,7 @@ export class Cell { } try { const qualifiedRef = `${this.sheet.name}!${match}` - const cellValue = this.sheet.workbook.getCell(qualifiedRef).evaluate() + const cellValue = this.sheet.workbook.getValue(qualifiedRef) // Только строки оборачиваем в кавычки, числа и булевы значения - нет if (typeof cellValue === 'string') { return `"${cellValue}"` @@ -293,7 +293,7 @@ export class Cell { const qualifiedName = sheetName ? `${sheetName}!${cellName}` : `${this.sheet.name}!${cellName}` - const cellValue = this.sheet.workbook.getCell(qualifiedName).evaluate() + const cellValue = this.sheet.workbook.getValue(qualifiedName) const numValue = typeof cellValue === 'number' ? cellValue