feat: 新增预览页

This commit is contained in:
mtruning
2022-03-06 02:08:14 +08:00
parent 30361aa7ca
commit 0946d170d7
13 changed files with 172 additions and 38 deletions
+6 -1
View File
@@ -120,7 +120,7 @@ export enum ChartEditStoreEnum {
}
// Store 类型
export interface chartEditStoreType {
export interface ChartEditStoreType {
[ChartEditStoreEnum.EDIT_CANVAS]: EditCanvasType
[ChartEditStoreEnum.EDIT_CANVAS_CONFIG]: EditCanvasConfigType
[ChartEditStoreEnum.RIGHT_MENU_SHOW]: boolean
@@ -129,3 +129,8 @@ export interface chartEditStoreType {
[ChartEditStoreEnum.RECORD_CHART]?: RecordChartType
[ChartEditStoreEnum.COMPONENT_LIST]: CreateComponentType[]
}
export interface ChartEditStorage {
[ChartEditStoreEnum.EDIT_CANVAS_CONFIG]: EditCanvasConfigType,
[ChartEditStoreEnum.COMPONENT_LIST]: CreateComponentType[]
}