what's the reason to get this error in React js - TypeError: this.state.data.map is not a function

前端 未结 0 1949
时光取名叫无心
时光取名叫无心 2020-12-22 18:07

I am new to React js and I am trying to fetch data from API and I am getting all data in this.state but while displaying in dropdown I am getting an above error. Please go t

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