feat: 新版webui

This commit is contained in:
bietiaop committed 2025-01-24 21:13:44 +08:00
1 parent afc9c7ed8d
commit 31c0c1f4bc
201 files changed
+18454 -3422

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
/**
* 深拷贝
* @param obj 需要拷贝的对象
* @returns 拷贝后的对象
*/
export const deepClone = <T>(obj: T): T => {
// 我们这里只只用于配置项,所以直接使用字符串就行
const newObj = JSON.parse(JSON.stringify(obj))
return newObj
}