Vue-如何使用axios实现同步请求嵌套方法
axios.get('/userAll')
.then( async response {
console.log(response);
//要同步这个方法
await axios.get('/user?ID=12345'
axios.get('/userAll')
.then( async response {
console.log(response);
//要同步这个方法
await axios.get('/user?ID=12345'