mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-10-24 05:21:20 +08:00
fix: 优化插件内按下ESC的功能 退出完整数据预览&清空搜索框 #16
This commit is contained in:
@@ -139,7 +139,10 @@ onMounted(() => {
|
||||
} else if (isSearch) {
|
||||
window.focus()
|
||||
} else if (isExit) {
|
||||
filterText.value = ''
|
||||
if (filterText.value) {
|
||||
filterText.value = ''
|
||||
e.stopPropagation()
|
||||
}
|
||||
} else if (ctrlKey) {
|
||||
} else {
|
||||
window.focus() // 其他键盘事件 直接聚焦搜索框
|
||||
|
||||
Reference in New Issue
Block a user