mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 14:48:13 -05:00
🐛 Fix(custom): fix gallery page url copy bug
This commit is contained in:
parent
a235e07912
commit
3063612394
@ -684,7 +684,7 @@ function handleClose () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function copy (item: ImgInfo) {
|
async function copy (item: ImgInfo) {
|
||||||
item.config = JSON.parse(JSON.stringify(item.config))
|
item.config = JSON.parse(JSON.stringify(item.config) || '{}')
|
||||||
const copyLink = await ipcRenderer.invoke(PASTE_TEXT, item)
|
const copyLink = await ipcRenderer.invoke(PASTE_TEXT, item)
|
||||||
const obj = {
|
const obj = {
|
||||||
title: $T('COPY_LINK_SUCCEED'),
|
title: $T('COPY_LINK_SUCCEED'),
|
||||||
|
Loading…
Reference in New Issue
Block a user