How to update state after POST request

前端 未结 0 1806
野的像风
野的像风 2021-01-29 23:40

I have the following post request in my code:

async addRepository() {
    const { rawProjects, selectedProject} =  this.state; //rawProjects is an array of object         


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