mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 01:25:27 +00:00
fix typo
This commit is contained in:
parent
264860b709
commit
a4d10b1930
@ -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) {
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user