React update state one step behind

前端 未结 0 1578
情歌与酒
情歌与酒 2021-01-28 06:37

So my intention is everytime I clicked the next page arrow the state would update the page number and call getData() to get data from remote database and then update work_orders

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