fix: 修复组合按键的BUG
This commit is contained in:
parent
a6b868be71
commit
655f3cd70c
@ -64,7 +64,7 @@
|
|||||||
}
|
}
|
||||||
document.onkeydown = function() {
|
document.onkeydown = function() {
|
||||||
var e = window.event;
|
var e = window.event;
|
||||||
if (!e.altKey) { return; }
|
if (!e.altKey || e.ctrlKey || e.shiftKey) { return; }
|
||||||
switch (e.keyCode) {
|
switch (e.keyCode) {
|
||||||
case 87:
|
case 87:
|
||||||
// Alt + W 关闭Tab标签页
|
// Alt + W 关闭Tab标签页
|
||||||
|
Loading…
Reference in New Issue
Block a user