async 方法名() { const data = await axios.post('url',{参数}) } async+await ==> 表示 请求结束后在往下执行 转载于:https://www.cnblogs.com/cs122/p/9782602.html