fix: 修复初始化不能拖拽
This commit is contained in:
parent
b08636ec69
commit
99c82de77c
@ -1,5 +1,6 @@
|
||||
import { PublicConfigClass } from '@/packages/public'
|
||||
import { CreateComponentType } from '@/packages/index.d'
|
||||
import { chartInitConfig } from '@/settings/designSetting'
|
||||
import { FullScreenConfig } from './index'
|
||||
import cloneDeep from 'lodash/cloneDeep'
|
||||
|
||||
@ -11,7 +12,7 @@ export const option = {
|
||||
|
||||
export default class Config extends PublicConfigClass implements CreateComponentType {
|
||||
public key = FullScreenConfig.key
|
||||
public attr = { w: 150, h: 150 }
|
||||
public attr = { ...chartInitConfig, w: 150, h: 150 }
|
||||
public chartConfig = cloneDeep(FullScreenConfig)
|
||||
public option = cloneDeep(option)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user