From 59baa145f0e94349f76b2118af05f90d2f24e54b Mon Sep 17 00:00:00 2001 From: Fine Date: Mon, 30 Dec 2024 15:08:42 +0800 Subject: [PATCH] fix --- src/store/modules/async-profiling.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/store/modules/async-profiling.ts b/src/store/modules/async-profiling.ts index a0041f18..dc9760e8 100644 --- a/src/store/modules/async-profiling.ts +++ b/src/store/modules/async-profiling.ts @@ -96,7 +96,10 @@ export const asyncProfilingStore = defineStore({ duration: useAppStoreWithOut().durationTime, }); if (!res.data.errors) { - this.instances = res.data.data.pods || []; + this.instances = (res.data.data.pods || []).map((d) => { + d.value = d.id; + return d; + }); } return res.data; },