Closed Jarvie789 closed 1 year ago
@Jarvie789 回调函数返回一个记录,可以使用 hotkeysEvent.keys
, 需要更新到 v3.11.0
,
hotkeys('*', (evn, hotkeysEvent) => {
console.log('heven', hotkeysEvent);
console.log('keys', hotkeysEvent.keys);
})
![]()
@Jarvie789 回调函数返回一个记录,可以使用
hotkeysEvent.keys
, 需要更新到v3.11.0
,hotkeys('*', (evn, hotkeysEvent) => { console.log('heven', hotkeysEvent); console.log('keys', hotkeysEvent.keys); })
感谢老哥!
如题