Why is setState not called?

前端 未结 0 534
一个人的身影
一个人的身影 2021-01-15 19:37

I have some code which should update state:

class A extends Component {
  constructor(props) {
    super(props);
    th         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题