mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-09-27 05:43:21 +08:00
feat: 调整侧栏全部数据样式 增加不隐藏插件执行复制的功能
This commit is contained in:
@@ -161,7 +161,7 @@ const watchClipboard = async (db, fn) => {
|
||||
}, 250)
|
||||
}
|
||||
|
||||
const copy = (item) => {
|
||||
const copy = (item, isHideMainWindow = true) => {
|
||||
switch (item.type) {
|
||||
case 'text':
|
||||
utools.copyText(item.data)
|
||||
@@ -174,7 +174,7 @@ const copy = (item) => {
|
||||
utools.copyFile(paths)
|
||||
break
|
||||
}
|
||||
utools.hideMainWindow()
|
||||
isHideMainWindow && utools.hideMainWindow()
|
||||
}
|
||||
|
||||
const paste = () => {
|
||||
|
Reference in New Issue
Block a user