Can’t call setState (or forceUpdate) on an unmounted component

  componentWillUnmount() {
    this.setState = () => {
      return
    }
  }

 

posted @   徐同保  阅读(198)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示