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 GroupManag component.
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 GroupManag component.
4 回答1.8k 阅读
2 回答1.2k 阅读✓ 已解决
1 回答1.1k 阅读✓ 已解决
4 回答1.6k 阅读
1 回答782 阅读✓ 已解决
2 回答969 阅读✓ 已解决
2 回答1.1k 阅读
组件没有渲染之前,直接通过 this.state = {}去赋值就好。