Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix(formula): fix ArrayValueObject compare cache bug (#3764)
wpxp123456424bb026adb3
diff --git a/packages/engine-formula/src/engine/value-object/array-value-object.ts b/packages/engine-formula/src/engine/value-object/array-value-object.tsindex 74396207d0..1e8d7993f6 100644--- a/packages/engine-formula/src/engine/value-object/array-value-object.ts+++ b/packages/engine-formula/src/engine/value-object/array-value-object.ts@@ -1518,6 +1518,10 @@ export class ArrayValueObject extends BaseValueObject {if (rowPositions != null) {rowPositions.forEach((row) => {+ if (row < startRow || row > startRow + rowCount - 1) {+ return;+ }+const r = row - startRow;if (result[r] == null) {result[r] = [];