Match-id-a965dbe9849e2f595a38731982d03499bc2ef956
This commit is contained in:
parent
6fa1fdb46d
commit
bec923e83d
|
@ -16,7 +16,7 @@ export function decorateNativeEvent(customEventName, nativeEvtName, nativeEvent)
|
|||
|
||||
nativeEvent.isDefaultPrevented = () => nativeEvent.defaultPrevented;
|
||||
nativeEvent.isPropagationStopped = () => nativeEvent.cancelBubble;
|
||||
// 适配React16事件api
|
||||
// 适配老版本事件api
|
||||
nativeEvent.persist = noop;
|
||||
|
||||
// custom事件自定义属性
|
||||
|
|
Loading…
Reference in New Issue