import { PublicConfigClass } from '@/packages/public' import { chartInitConfig } from '@/settings/designSetting' import { CreateComponentType } from '@/packages/index.d' import { TopTitlesConfig } from './index' import cloneDeep from 'lodash/cloneDeep' export const option = { } export default class Config extends PublicConfigClass implements CreateComponentType { public key = TopTitlesConfig.key public attr = { ...chartInitConfig, w: 1920, h: 98, zIndex: 1 } public chartConfig = cloneDeep(TopTitlesConfig) public option = cloneDeep(option) }