一般使用axios进行数据请求就是异步请求 如果一定要同步使用数据的话,可以使用 async+await methods: { async fun1(){ var res = await axios.post('') //这里的res就是axios请求回来的结果 } }