這就是keyPress、keyDown 以及keyCode 跟charCode 的差別。 ... Enter as charCode 10 when ctrl is pressed. if (charCode === 10) { charCode = 13; } ...
確定! 回上一頁