完成大图标小图标切换
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
export enum MonitorType {
|
||||
'cpu' = 'cpu', // 图标风格
|
||||
'memory' = 'memory', // 详情风格
|
||||
'disk' = 'disk',
|
||||
}
|
||||
|
||||
export interface CardStyle {
|
||||
background: string
|
||||
}
|
||||
|
||||
export interface MonitorData {
|
||||
monitorType: MonitorType
|
||||
extendParam?: { [key: string]: [value:any] } | any
|
||||
description?: string
|
||||
cardStyle: CardStyle
|
||||
}
|
||||
|
||||
export interface ProgressStyle {
|
||||
color: string
|
||||
railColor: string
|
||||
height: number
|
||||
}
|
||||
Reference in New Issue
Block a user