From bec923e83dfcaf3c01047d0dda2db9afb45707cc Mon Sep 17 00:00:00 2001 From: * <8> Date: Thu, 10 Mar 2022 17:37:08 +0800 Subject: [PATCH] Match-id-a965dbe9849e2f595a38731982d03499bc2ef956 --- libs/horizon/src/event/customEvents/EventFactory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/horizon/src/event/customEvents/EventFactory.ts b/libs/horizon/src/event/customEvents/EventFactory.ts index 3bad01d4..8ca28579 100644 --- a/libs/horizon/src/event/customEvents/EventFactory.ts +++ b/libs/horizon/src/event/customEvents/EventFactory.ts @@ -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事件自定义属性