From 1d6f0d6272374a4b388615bd84319c7a89f1e48a Mon Sep 17 00:00:00 2001 From: Fine Date: Mon, 30 Dec 2024 15:16:47 +0800 Subject: [PATCH] add type --- src/store/modules/async-profiling.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/async-profiling.ts b/src/store/modules/async-profiling.ts index dc9760e8..1dffcc04 100644 --- a/src/store/modules/async-profiling.ts +++ b/src/store/modules/async-profiling.ts @@ -96,7 +96,7 @@ export const asyncProfilingStore = defineStore({ duration: useAppStoreWithOut().durationTime, }); if (!res.data.errors) { - this.instances = (res.data.data.pods || []).map((d) => { + this.instances = (res.data.data.pods || []).map((d: Instance) => { d.value = d.id; return d; });