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