Match-id-959490c59fdb0201d8da319c9e37e4feb1f4b391

This commit is contained in:
* 2022-09-07 22:17:12 +08:00 committed by *
commit 2ff4246cbf
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export class WrappedEvent {
this.type = nativeEvtName; this.type = nativeEvtName;
// 兼容IE的event key // 兼容IE的event key
const orgKey = (nativeEvent as any).key; const orgKey = (nativeEvent as any).key ?? '';
this.key = uniqueKeyMap.get(orgKey) || orgKey; this.key = uniqueKeyMap.get(orgKey) || orgKey;
} }