setState(...): Can only update a mounted or mounting component. This usually means you called
Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the SalesInfo component.
出现这种情况,是因为组件卸载之后,调用了 setState。
通常会出现在以下两个场景.
原创
2021-04-27 13:59:42 ·
274 阅读 ·
0 评论