mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-01 11:09:40 +08:00
🐛 Fix: fix macos traypage bug
This commit is contained in:
@@ -2,7 +2,7 @@ import { IPasteStyle } from '#/types/enum'
|
||||
import { handleUrlEncode } from '#/utils/common'
|
||||
import db from '~/main/apis/core/datastore'
|
||||
|
||||
const formatCustomLink = (customLink: string, item: ImgInfo) => {
|
||||
export const formatCustomLink = (customLink: string, item: ImgInfo) => {
|
||||
const fileName = item.fileName!.replace(new RegExp(`\\${item.extname}$`), '')
|
||||
const url = item.url || item.imgUrl
|
||||
const extName = item.extname
|
||||
|
||||
Reference in New Issue
Block a user