feat: 支持通过ESC退出多选模式

This commit is contained in:
ZiuChen
2022-09-09 15:02:46 +08:00
parent bdfc4baf22
commit 424b1c7870

View File

@@ -273,6 +273,9 @@ onMounted(() => {
// 移除焦点 隐藏搜索框 // 移除焦点 隐藏搜索框
window.focus(true) window.focus(true)
e.stopPropagation() e.stopPropagation()
} else if (isMultiple.value) {
// 退出多选状态
handleMultiBtnClick()
} else { } else {
// 无上述情况 执行默认: 隐藏uTools主窗口 // 无上述情况 执行默认: 隐藏uTools主窗口
} }