vue2中使用axioshttp请求出现的问题与解决办法【点击查看详情】
        使用axios处理post请求时,出现的问题解决。默认情况下: axios.post(url.params).then(res =>;res.data)。当url是远程接口链接时,会报404的错误。Uncaught (in promise) Error: Request failed with status code 404。我们需要实例化一个新的axios,并且设置他的消息头为';content-type';: ‘application/x-www-form-urlencoded'。于是得出解决方案。