输出结果:

which: 49 charcode: 0 keycode: 49 key: 1
which: 83 charcode: 0 keycode: 83 key: s
which: 18 charcode: 0 keycode: 18 key: Alt
which: 91 charcode: 0 keycode: 91 key: Meta


为了兼容性,一般用which


which、charcode、 keycode, key: 1的区别?

2019-02-16 21:52:59 0 34
这里是评论

相关推荐