fix: 去除配置文件里的 node 指向

This commit is contained in:
MTrun
2022-03-10 20:05:05 +08:00
parent a1a2e260f6
commit d1c0cae68e
20 changed files with 49 additions and 107 deletions
@@ -1,17 +1,14 @@
import MapChine from './index.vue'
import Configuration from './config.vue'
import image from '@/assets/images/chart/charts/map.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const MapChineConfig: ConfigType = {
key: 'VMapChine',
key: 'MapChine',
chartKey: 'VMapChine',
conKey: 'VCMapChine',
title: '北京地图',
category: ChatCategoryEnum.MAP,
categoryName: ChatCategoryEnumName.MAP,
package: PackagesCategoryEnum.CHARTS,
node: () => MapChine,
conNode: () => Configuration,
image: image
image
}
@@ -1,17 +1,14 @@
import Funnel from './index.vue'
import Configuration from './config.vue'
import image from '@/assets/images/chart/charts/funnel.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const FunnelConfig: ConfigType = {
key: 'VFunnel',
key: 'Funnel',
chartKey: 'VFunnel',
conKey: 'VCFunnel',
title: '漏斗图',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: () => Funnel,
conNode: () => Configuration,
image: image
image
}
@@ -1,17 +1,14 @@
import Heatmap from './index.vue'
import Configuration from './config.vue'
import image from '@/assets/images/chart/charts/heatmap.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const HeatmapConfig: ConfigType = {
key: 'VHeatmap',
key: 'Heatmap',
chartKey: 'VHeatmap',
conKey: 'VCHeatmap',
title: '热力图',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: () => Heatmap,
conNode: () => Configuration,
image: image
image
}
@@ -1,17 +1,14 @@
import Point from './index.vue'
import Configuration from './config.vue'
import image from '@/assets/images/chart/charts/Point.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const PointConfig: ConfigType = {
key: 'VPoint',
key: 'Point',
chartKey: 'VPoint',
conKey: 'VCPoint',
title: '热力图',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: () => Point,
conNode: () => Configuration,
image: image
image
}
@@ -1,17 +1,14 @@
import Radar from './index.vue'
import Configuration from './config.vue'
import image from '@/assets/images/chart/charts/radar.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const RadarConfig: ConfigType = {
key: 'VRadar',
key: 'Radar',
chartKey: 'VRadar',
conKey: 'VCRadar',
title: '雷达',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: () => Radar,
conNode: () => Configuration,
image: image
image
}
@@ -1,17 +1,14 @@
import TreeMap from './index.vue'
import Configuration from './config.vue'
import image from '@/assets/images/chart/charts/tree_map.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const TreeMapConfig: ConfigType = {
key: 'VTreeMap',
key: 'TreeMap',
chartKey: 'VTreeMap',
conKey: 'VCTreeMap',
title: '树形分布',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: () => TreeMap,
conNode: () => Configuration,
image: image
image
}
@@ -1,17 +1,14 @@
import Variable from './index.vue'
import Configuration from './config.vue'
import image from '@/assets/images/chart/charts/water_variable.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d'
export const VariableConfig: ConfigType = {
key: 'VVariable',
key: 'Variable',
chartKey: 'VVariable',
conKey: 'VCVariable',
title: '折线面积图',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.CHARTS,
node: () => Variable,
conNode: () => Configuration,
image: image
image
}