mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
fix: 修复初始化不能拖拽
This commit is contained in:
parent
1401a091eb
commit
dbc44bf419
@ -1,5 +1,6 @@
|
|||||||
import { PublicConfigClass } from '@/packages/public'
|
import { PublicConfigClass } from '@/packages/public'
|
||||||
import { CreateComponentType } from '@/packages/index.d'
|
import { CreateComponentType } from '@/packages/index.d'
|
||||||
|
import { chartInitConfig } from '@/settings/designSetting'
|
||||||
import { FullScreenConfig } from './index'
|
import { FullScreenConfig } from './index'
|
||||||
import cloneDeep from 'lodash/cloneDeep'
|
import cloneDeep from 'lodash/cloneDeep'
|
||||||
|
|
||||||
@ -11,7 +12,7 @@ export const option = {
|
|||||||
|
|
||||||
export default class Config extends PublicConfigClass implements CreateComponentType {
|
export default class Config extends PublicConfigClass implements CreateComponentType {
|
||||||
public key = FullScreenConfig.key
|
public key = FullScreenConfig.key
|
||||||
public attr = { w: 150, h: 150 }
|
public attr = { ...chartInitConfig, w: 150, h: 150 }
|
||||||
public chartConfig = cloneDeep(FullScreenConfig)
|
public chartConfig = cloneDeep(FullScreenConfig)
|
||||||
public option = cloneDeep(option)
|
public option = cloneDeep(option)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user