Match-id-1e1386ee22959f5efdcccba603bbc688994eec6a
This commit is contained in:
parent
a702a3d050
commit
df87d7d1a8
|
@ -58,7 +58,7 @@ export class WrappedEvent {
|
|||
this.type = nativeEvtName;
|
||||
|
||||
// 兼容IE的event key
|
||||
const orgKey = (nativeEvent as any).key;
|
||||
const orgKey = (nativeEvent as any).key ?? '';
|
||||
this.key = uniqueKeyMap.get(orgKey) || orgKey;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue