mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
perf: 调整装饰3的默认大小
This commit is contained in:
parent
ba0cc9cd82
commit
8e1b56d74c
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user