diff --git a/src/types/dashboard.d.ts b/src/types/dashboard.d.ts index 1d11c3c7..42fd4b75 100644 --- a/src/types/dashboard.d.ts +++ b/src/types/dashboard.d.ts @@ -42,7 +42,6 @@ export interface LayoutConfig { children?: { name: string; children: LayoutConfig[]; expression?: string; enable?: boolean }[]; activedTabIndex?: number; metricConfig?: MetricConfigOpt[]; - hierarchyServicesConfig?: HierarchyServicesConfig[]; id?: string; associate?: { widgetId: string }[]; eventAssociate?: boolean; @@ -86,16 +85,6 @@ export type MetricConfigOpt = { detailLabel?: string; }; -export interface HierarchyServicesConfigMap { - [key: string]: HierarchyServicesConfig; -} - -export interface HierarchyServicesConfig { - layer: string; - nodeExpressions: string[]; - expressionsConfig: MetricConfigOpt[]; -} - export interface WidgetConfig { name?: string; title?: string; diff --git a/src/views/dashboard/related/topology/service/HierarchyMap.vue b/src/views/dashboard/related/topology/service/HierarchyMap.vue index fa02a16e..dc7abe46 100644 --- a/src/views/dashboard/related/topology/service/HierarchyMap.vue +++ b/src/views/dashboard/related/topology/service/HierarchyMap.vue @@ -81,7 +81,6 @@ limitations under the License. -->