featr: 新增图层选中的样式

This commit is contained in:
MTrun
2022-01-29 21:44:22 +08:00
parent 3acf2fe732
commit d820cce6d4
7 changed files with 137 additions and 45 deletions
+7 -6
View File
@@ -44,11 +44,12 @@ export type MousePositionType = {
// 操作目标
export type TargetChartType = {
index: number
hoverIndex?: string
selectIndex?: string
}
// Store 类型
export enum chartEditStoreEnum {
export enum ChartEditStoreEnum {
EDITCANVAS = 'editCanvas',
MOUSEPOSITION = 'mousePosition',
COMPONENT_LIST = 'componentList',
@@ -56,8 +57,8 @@ export enum chartEditStoreEnum {
}
export interface chartEditStoreType {
[chartEditStoreEnum.EDITCANVAS]: EditCanvasType
[chartEditStoreEnum.MOUSEPOSITION]: MousePositionType
[chartEditStoreEnum.TARGET_CHART]: TargetChartType
[chartEditStoreEnum.COMPONENT_LIST]: any[]
[ChartEditStoreEnum.EDITCANVAS]: EditCanvasType
[ChartEditStoreEnum.MOUSEPOSITION]: MousePositionType
[ChartEditStoreEnum.TARGET_CHART]: TargetChartType
[ChartEditStoreEnum.COMPONENT_LIST]: any[]
}