perf: 调整装饰3的默认大小

This commit is contained in:
tnt group 2022-09-26 16:44:19 +08:00
parent ba0cc9cd82
commit 8e1b56d74c

View File

@ -2,16 +2,18 @@ import { PublicConfigClass } from '@/packages/public'
import { CreateComponentType } from '@/packages/index.d'
import { Decorates03Config } from './index'
import cloneDeep from 'lodash/cloneDeep'
import { chartInitConfig } from '@/settings/designSetting'
export const option = {
dataset: '我是标题',
textColor: '#fff',
textSize: 32,
colors: ['#1dc1f5', '#1dc1f5'],
colors: ['#1dc1f5', '#1dc1f5']
}
export default class Config extends PublicConfigClass implements CreateComponentType {
public key = Decorates03Config.key
public attr = { ...chartInitConfig, w: 500, h: 70, zIndex: 1 }
public chartConfig = cloneDeep(Decorates03Config)
public option = cloneDeep(option)
}