mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-24 22:40:11 +08:00
21 lines
634 B
TypeScript
21 lines
634 B
TypeScript
import { PublicConfigClass } from '@/packages/public'
|
|
import { CreateComponentType } from '@/packages/index.d'
|
|
import { chartInitConfig } from '@/settings/designSetting'
|
|
import { IframeConfig } from './index'
|
|
import cloneDeep from 'lodash/cloneDeep'
|
|
|
|
export const option = {
|
|
// 网站路径
|
|
dataset: "https://cn.vuejs.org/",
|
|
// 圆角
|
|
borderRadius: 10
|
|
}
|
|
|
|
export default class Config extends PublicConfigClass implements CreateComponentType
|
|
{
|
|
public key = IframeConfig.key
|
|
public attr = { ...chartInitConfig, w: 800, h: 800, zIndex: -1 }
|
|
public chartConfig = cloneDeep(IframeConfig)
|
|
public option = cloneDeep(option)
|
|
}
|