feat: 按住Shift直接进入多选 移除进入插件时的自动聚焦

This commit is contained in:
ZiuChen
2022-09-09 14:53:03 +08:00
parent 290464d55e
commit bdfc4baf22
2 changed files with 6 additions and 4 deletions

View File

@@ -276,10 +276,14 @@ onMounted(() => {
} else {
// 无上述情况 执行默认: 隐藏uTools主窗口
}
} else if (isShift) {
// Shift: 多选操作
if (!isMultiple.value) {
handleMultiBtnClick()
}
} else if (isArrow || isEnter) {
e.preventDefault()
} else if (isShift || ctrlKey || metaKey || isAlt) {
// Shift: 多选操作
} else if (ctrlKey || metaKey || isAlt) {
// Ctrl: utools模拟执行粘贴时触发
// Alt:
} else {