Home > front end >  Consult the eldest brother have a small problem, I make a landing function axios, how to obtain the
Consult the eldest brother have a small problem, I make a landing function axios, how to obtain the

Time:10-26

Now I can only get a result set

CodePudding user response:

Got the result set, not have to

CodePudding user response:

 
Axios. Post (' * * * '{data}), then (res=& gt; {
The console. The log (res) data)
})

CodePudding user response:

The return of the success is the result of the data package, you use to return the result. The data (res) data)

CodePudding user response:

Request after the output, find useful data stored can

CodePudding user response:

Should judge from the status of your screenshot, under the back-end communication with you will know that the return value is what mean

CodePudding user response:

 
Axios. Post ('/login '{data: "data"}), then ((res)=& gt; {
The console. The log (res) data) is_root);
});
  •  Tags:  
  • Ajax
  • Related