Match-id-1e1386ee22959f5efdcccba603bbc688994eec6a

This commit is contained in:
* 2022-09-07 22:17:12 +08:00 committed by *
parent a702a3d050
commit df87d7d1a8
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;
} }