sksDonni commented on code in PR #396: URL: https://github.com/apache/skywalking-banyandb/pull/396#discussion_r1513255399
########## ui/src/components/Read/index.vue: ########## @@ -184,8 +184,10 @@ watch(() => data.code, () => { if (index >= 0) { data.codeStorage[index].params.code = data.code } else { + route.params.code = data.code - data.codeStorage.push(JSON.parse(JSON.stringify(route))) + const clonedObject = Object.assign({}, route); Review Comment: Hi @Fine0830 @hanahmily, tried using structuredClone(). Am encountering some issue similar to this [here](https://stackoverflow.com/questions/72632173/unable-to-use-structuredclone-on-value-of-ref-variable). Will try to manually loop and clone each child recursively. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org