fix: 修复组合按键的BUG

This commit is contained in:
502647092 2018-05-15 21:46:01 +08:00
parent a6b868be71
commit 655f3cd70c

View File

@ -64,7 +64,7 @@
}
document.onkeydown = function() {
var e = window.event;
if (!e.altKey) { return; }
if (!e.altKey || e.ctrlKey || e.shiftKey) { return; }
switch (e.keyCode) {
case 87:
// Alt + W 关闭Tab标签页