Match-id-959490c59fdb0201d8da319c9e37e4feb1f4b391
This commit is contained in:
commit
2ff4246cbf
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue