Skip to content

Commit

Permalink
feat(core): set appVersion to package version (#1328)
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai authored Feb 3, 2024
1 parent 339c36b commit c9193a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/types/const/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,7 +73,7 @@ export const DEFAULT_WORKBOOK: IWorkbookData = {
id: '',
sheetOrder: [],
name: '',
appVersion: '',
appVersion: version,
locale: LocaleType.ZH_CN,
styles: {},
sheets: {},
Expand Down

0 comments on commit c9193a1

Please sign in to comment.