- 博客(1)
- 收藏
- 关注
原创 axios前端解决跨域
axios前端解决跨域 1.在config文件夹下index.js文件下,找到proxyTable:{},修改 proxyTable: { '/api': { target: 'http://119.3.175.224', // 你要代理的域名和端口号,要加上http changeOrigin: true, ...
2019-06-20 09:15:05
1121
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人