mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 07:04:07 +00:00
fix typo
This commit is contained in:
parent
264860b709
commit
a4d10b1930
@ -394,7 +394,6 @@ export const topologyStore = defineStore({
|
|||||||
queryStr: string;
|
queryStr: string;
|
||||||
conditions: { [key: string]: unknown };
|
conditions: { [key: string]: unknown };
|
||||||
}) {
|
}) {
|
||||||
console.log(param);
|
|
||||||
const res: AxiosResponse = await query(param);
|
const res: AxiosResponse = await query(param);
|
||||||
|
|
||||||
if (res.data.errors) {
|
if (res.data.errors) {
|
||||||
|
@ -410,7 +410,6 @@ function deleteMetric(index: number) {
|
|||||||
...{ metricTypes: states.metricTypes, metrics: states.metrics },
|
...{ metricTypes: states.metricTypes, metrics: states.metrics },
|
||||||
metricConfig,
|
metricConfig,
|
||||||
});
|
});
|
||||||
console.log(dashboardStore.selectedGrid);
|
|
||||||
}
|
}
|
||||||
function setMetricTypeList(type: string) {
|
function setMetricTypeList(type: string) {
|
||||||
if (type !== MetricsType.REGULAR_VALUE) {
|
if (type !== MetricsType.REGULAR_VALUE) {
|
||||||
|
@ -145,12 +145,12 @@ async function queryServices() {
|
|||||||
ElMessage.error(resp.errors);
|
ElMessage.error(resp.errors);
|
||||||
}
|
}
|
||||||
sortServices.value = selectorStore.services.sort((a: any, b: any) => {
|
sortServices.value = selectorStore.services.sort((a: any, b: any) => {
|
||||||
const nameA = a.group.toUpperCase();
|
const groupA = a.group.toUpperCase();
|
||||||
const nameB = b.group.toUpperCase();
|
const groupB = b.group.toUpperCase();
|
||||||
if (nameA < nameB) {
|
if (groupA < groupB) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (nameA > nameB) {
|
if (groupA > groupB) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user