mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-09-22 20:09:21 +08:00
feat: close #2754 add import/export to file
This commit is contained in:
3
app/utils/clone.ts
Normal file
3
app/utils/clone.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function deepClone<T>(obj: T) {
|
||||
return JSON.parse(JSON.stringify(obj));
|
||||
}
|
Reference in New Issue
Block a user