依赖包数据请求Axios发送请求POST请求On this pagePOST请求axios({ method: "POST", url: "/xxxxx", data: param,});// 或者axios({ method: "POST", url: "/xxxxx", params: param,});异步axios .post("/user", { firstName: "Fred", lastName: "Flintstone", }) .then(function (response) { console.log(response); }) .catch(function (error) { console.log(error); });链接Axios >什么是 axios?