mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix types
This commit is contained in:
parent
47f30f192e
commit
d24946665e
@ -117,12 +117,12 @@ limitations under the License. -->
|
|||||||
return attr.map((d: { name: string; value: string }) => `${d.name}=${d.value}`).join("; ");
|
return attr.map((d: { name: string; value: string }) => `${d.name}=${d.value}`).join("; ");
|
||||||
};
|
};
|
||||||
|
|
||||||
function changeLabels(opt: any[]) {
|
function changeLabels(opt: Option[]) {
|
||||||
const arr = opt.map((d) => d.value);
|
const arr = opt.map((d) => d.value);
|
||||||
selectedLabels.value = arr;
|
selectedLabels.value = arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeAggregateType(opt: any[]) {
|
function changeAggregateType(opt: Option[]) {
|
||||||
aggregateType.value = opt[0].value;
|
aggregateType.value = opt[0].value;
|
||||||
ebpfStore.setAnalyzeTrees([]);
|
ebpfStore.setAnalyzeTrees([]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user