From 5cc913a33233d7fb0db151af4e4e444eb3a9a24b Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Fri, 24 Feb 2023 17:46:46 +0800 Subject: [PATCH] fix: data (#240) --- src/views/dashboard/related/ebpf/components/EBPFStack.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/dashboard/related/ebpf/components/EBPFStack.vue b/src/views/dashboard/related/ebpf/components/EBPFStack.vue index de7ec9c7..0d5f3db1 100644 --- a/src/views/dashboard/related/ebpf/components/EBPFStack.vue +++ b/src/views/dashboard/related/ebpf/components/EBPFStack.vue @@ -128,7 +128,7 @@ limitations under the License. --> } function processTree(arr: StackElement[]) { - const copyArr = (window as any).structuredClone(arr); + const copyArr = JSON.parse(JSON.stringify(arr)); const obj: any = {}; let res = null; for (const item of copyArr) {