this.setstate is not a function 错误
在callback中的上下文非component的上下文 需要在function中bind(this)
https://stackoverflow.com/questions/31045716/react-this-setstate-is-not-a-function
this.setstate is not a function 错误
在callback中的上下文非component的上下文 需要在function中bind(this)
https://stackoverflow.com/questions/31045716/react-this-setstate-is-not-a-function