删除list内容如果没了的话,继续点击会报警告,请问怎么解决?
来源:5-8 使用 actionCreator 统一创建 action
天天保持学习
2019-01-14
index.js:1446 Warning: This synthetic event is reused for performance reasons. If you’re seeing this, you’re accessing the property nativeEvent
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-pooling for more information.
这个是打印的报错
写回答
1回答
-
判断,如果没有了,就reture false
032019-01-17
相似问题