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): clear array formula cache (#6157)
Univer36ece7d39a56
diff --git a/packages/engine-formula/src/services/calculate-formula.service.ts b/packages/engine-formula/src/services/calculate-formula.service.tsindex cd60db1e82..6e54971619 100644--- a/packages/engine-formula/src/services/calculate-formula.service.ts+++ b/packages/engine-formula/src/services/calculate-formula.service.ts@@ -173,6 +173,8 @@ export class CalculateFormulaService extends Disposable implements ICalculateForreturn true;}+ FORMULA_REF_TO_ARRAY_CACHE.clear();+this._currentConfigService.loadDirtyRangesAndExcludedCell(dirtyRanges, excludedCell);await this._apply(true);