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
相關文章
相關標籤/搜索