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) {