mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-06 16:07:06 +08:00
🐛 Fix(custom): fix gallery page url copy bug
This commit is contained in:
@@ -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'),
|
||||||
|
|||||||
Reference in New Issue
Block a user