mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-06-09 07:24:03 +08:00
fix: 移除复制并粘贴的复制成功toast
This commit is contained in:
parent
2c17bd09d1
commit
d03657a1fe
@ -178,12 +178,12 @@ const handleItemClick = (ev, item) => {
|
||||
} else if (button === 2) {
|
||||
// 右键 仅复制
|
||||
window.copy(item)
|
||||
}
|
||||
ElMessage({
|
||||
message: '复制成功',
|
||||
type: 'success'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
const activeIndex = ref(0)
|
||||
const handleMouseOver = (index) => {
|
||||
@ -241,10 +241,6 @@ const keyDownCallBack = (e) => {
|
||||
console.log('isEnter')
|
||||
window.copy(props.showList[activeIndex.value])
|
||||
window.paste()
|
||||
ElMessage({
|
||||
message: '复制成功',
|
||||
type: 'success'
|
||||
})
|
||||
} else {
|
||||
emit('onMultiCopyExecute', true)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user