报错提示如下:
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 Timer component.
这里是我的代码(这里的props是接受另外一个组建传过来的数据):
这里附上stackflow里的答案,但是看了下不是很清楚。点击链接
至尊宝的传说
慕桂英3389331
相关分类