diff --git a/src/store/modules/topology.ts b/src/store/modules/topology.ts index 7dda19ce..32da7b3f 100644 --- a/src/store/modules/topology.ts +++ b/src/store/modules/topology.ts @@ -394,7 +394,6 @@ export const topologyStore = defineStore({ queryStr: string; conditions: { [key: string]: unknown }; }) { - console.log(param); const res: AxiosResponse = await query(param); if (res.data.errors) { diff --git a/src/views/dashboard/configuration/widget/metric/Index.vue b/src/views/dashboard/configuration/widget/metric/Index.vue index 6d5724ce..adad7438 100644 --- a/src/views/dashboard/configuration/widget/metric/Index.vue +++ b/src/views/dashboard/configuration/widget/metric/Index.vue @@ -410,7 +410,6 @@ function deleteMetric(index: number) { ...{ metricTypes: states.metricTypes, metrics: states.metrics }, metricConfig, }); - console.log(dashboardStore.selectedGrid); } function setMetricTypeList(type: string) { if (type !== MetricsType.REGULAR_VALUE) { diff --git a/src/views/dashboard/graphs/ServiceList.vue b/src/views/dashboard/graphs/ServiceList.vue index eae2ffe3..7bcac745 100644 --- a/src/views/dashboard/graphs/ServiceList.vue +++ b/src/views/dashboard/graphs/ServiceList.vue @@ -145,12 +145,12 @@ async function queryServices() { ElMessage.error(resp.errors); } sortServices.value = selectorStore.services.sort((a: any, b: any) => { - const nameA = a.group.toUpperCase(); - const nameB = b.group.toUpperCase(); - if (nameA < nameB) { + const groupA = a.group.toUpperCase(); + const groupB = b.group.toUpperCase(); + if (groupA < groupB) { return -1; } - if (nameA > nameB) { + if (groupA > groupB) { return 1; } return 0;