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
feat(core): set appVersion to package version (#1328)
白熱c9193a1795f6
diff --git a/packages/core/src/types/const/const.ts b/packages/core/src/types/const/const.tsindex 8c3e3812aa..f5565b26ba 100644--- a/packages/core/src/types/const/const.ts+++ b/packages/core/src/types/const/const.ts@@ -24,6 +24,7 @@ import {WrapStrategy,} from '../enum';import type { IWorkbookData, IWorksheetData } from '../interfaces';+import { version } from '../../../package.json';/*** Used as an illegal range array return value@@ -72,7 +73,7 @@ export const DEFAULT_WORKBOOK: IWorkbookData = {id: '',sheetOrder: [],name: '',- appVersion: '',+ appVersion: version,locale: LocaleType.ZH_CN,styles: {},sheets: {},