fix: data

This commit is contained in:
Fine 2023-02-24 17:34:12 +08:00
parent 220525a2d9
commit 69eb49f068

View File

@ -128,7 +128,7 @@ limitations under the License. -->
} }
function processTree(arr: StackElement[]) { function processTree(arr: StackElement[]) {
const copyArr = (window as any).structuredClone(arr); const copyArr = JSON.parse(JSON.stringify(arr));
const obj: any = {}; const obj: any = {};
let res = null; let res = null;
for (const item of copyArr) { for (const item of copyArr) {