mirror of
https://gitee.com/dromara/go-view.git
synced 2026-05-12 00:00:01 +08:00
style: 优化类命名,格式化代码结构,优化注释
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { echartOptionProfixHandle, publicConfig } from '@/packages/public'
|
||||
import { echartOptionProfixHandle, PublicConfigClass } from '@/packages/public'
|
||||
import { FunnelConfig } from './index'
|
||||
import { CreateComponentType } from '@/packages/index.d'
|
||||
import cloneDeep from 'lodash/cloneDeep'
|
||||
@@ -53,7 +53,7 @@ export const option = {
|
||||
]
|
||||
}
|
||||
|
||||
export default class Config extends publicConfig implements CreateComponentType {
|
||||
export default class Config extends PublicConfigClass implements CreateComponentType {
|
||||
public key: string = FunnelConfig.key
|
||||
public chartConfig = cloneDeep(FunnelConfig)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { publicConfig } from '@/packages/public'
|
||||
import { PublicConfigClass } from '@/packages/public'
|
||||
import { CreateComponentType } from '@/packages/index.d'
|
||||
import { ProcessConfig } from './index'
|
||||
import { chartInitConfig } from '@/settings/designSetting'
|
||||
@@ -53,7 +53,7 @@ export const option = {
|
||||
offsetDegree: 0
|
||||
}
|
||||
|
||||
export default class Config extends publicConfig implements CreateComponentType {
|
||||
export default class Config extends PublicConfigClass implements CreateComponentType {
|
||||
public key = ProcessConfig.key
|
||||
public attr = { ...chartInitConfig, h: 500, zIndex: -1 }
|
||||
public chartConfig = cloneDeep(ProcessConfig)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { echartOptionProfixHandle, publicConfig } from '@/packages/public'
|
||||
import { echartOptionProfixHandle, PublicConfigClass } from '@/packages/public'
|
||||
import { RadarConfig } from './index'
|
||||
import { CreateComponentType } from '@/packages/index.d'
|
||||
import cloneDeep from 'lodash/cloneDeep'
|
||||
@@ -43,7 +43,7 @@ export const option = {
|
||||
]
|
||||
}
|
||||
|
||||
export default class Config extends publicConfig implements CreateComponentType {
|
||||
export default class Config extends PublicConfigClass implements CreateComponentType {
|
||||
public key = RadarConfig.key
|
||||
public chartConfig = cloneDeep(RadarConfig)
|
||||
// 图表配置项
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { echartOptionProfixHandle, publicConfig } from '@/packages/public'
|
||||
import { echartOptionProfixHandle, PublicConfigClass } from '@/packages/public'
|
||||
import { CreateComponentType } from '@/packages/index.d'
|
||||
import { WaterPoloConfig } from './index'
|
||||
import cloneDeep from 'lodash/cloneDeep'
|
||||
@@ -89,7 +89,7 @@ export const option = {
|
||||
]
|
||||
}
|
||||
|
||||
export default class Config extends publicConfig implements CreateComponentType
|
||||
export default class Config extends PublicConfigClass implements CreateComponentType
|
||||
{
|
||||
public key = WaterPoloConfig.key
|
||||
public chartConfig = cloneDeep(WaterPoloConfig)
|
||||
|
||||
Reference in New Issue
Block a user