react踩到的坑

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. 一开始一直觉得是在componentDidMount组件里面写到了this.setTat
相关文章
相关标签/搜索