axios跨域访问错误(vue.js)

文章来自:源码在线https://www.shengli.me/javascript/287.html   1、假如访问的接口地址为 http://www.test.com/apis/index.php  (php api 接口) 2、而开发地址为http://127.0.0.1:8080,当axios发起请求时,出现如下错误: Failed to load http://www.test.com
相关文章
相关标签/搜索