From d24946665ec5d2463d41f268097ae85d7c6704e2 Mon Sep 17 00:00:00 2001 From: Fine Date: Thu, 28 Nov 2024 16:48:48 +0800 Subject: [PATCH] fix types --- src/views/dashboard/related/ebpf/components/EBPFSchedules.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue b/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue index afafb5c3..177f1991 100644 --- a/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue +++ b/src/views/dashboard/related/ebpf/components/EBPFSchedules.vue @@ -117,12 +117,12 @@ limitations under the License. --> 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); selectedLabels.value = arr; } - function changeAggregateType(opt: any[]) { + function changeAggregateType(opt: Option[]) { aggregateType.value = opt[0].value; ebpfStore.setAnalyzeTrees([]); }