getting “undefined” after assigning fetched data to React state

前端 未结 0 1909
情深已故
情深已故 2021-01-01 04:28

Here is my state:

this.state = {
      questionArr: [],
      diceRoll: 0,
      category: "category",
      currentQuestion: "click to get a n         


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