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(base-sheets): new Command add workbookunit
dushusir6ec120d36b7a
diff --git a/packages/sheets-plugin-formula/src/Controller/FirstLoader.ts b/packages/sheets-plugin-formula/src/Controller/FirstLoader.tsindex 028d6fa2f7..ee642b746f 100644--- a/packages/sheets-plugin-formula/src/Controller/FirstLoader.ts+++ b/packages/sheets-plugin-formula/src/Controller/FirstLoader.ts@@ -41,7 +41,7 @@ export function firstLoader(formulaController: FormulaController) {});}- const command = new Command(workBook, ...actionList);+ const command = new Command({WorkBookUnit:workBook}, ...actionList);commandManager.invoke(command);});}