Match-id-a965dbe9849e2f595a38731982d03499bc2ef956

This commit is contained in:
* 2022-03-10 17:37:08 +08:00 committed by *
parent 6fa1fdb46d
commit bec923e83d
1 changed files with 1 additions and 1 deletions

View File

@ -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事件自定义属性