2

react 报错:Warning: This synthetic event is reused for performance reasons. If you're seeing this, you're accessing the property target on a released/nullified synthetic event. This is set to null. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-poo... for more information.

方法:
clipboard.png

错误调用:
clipboard.png

正确调用:
clipboard.png


小李同学
31 声望3 粉丝