mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-25 18:20:24 +08:00
🐛 Fix(db): fix some db bugs
#873,#806
This commit is contained in:
@@ -30,3 +30,10 @@ export const handleStreamlinePluginName = (name: string) => {
|
||||
return name.replace(/picgo-plugin-/, '')
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* for just simple clone an object
|
||||
*/
|
||||
export const simpleClone = (obj: any) => {
|
||||
return JSON.parse(JSON.stringify(obj))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user