vue项目中实现跨域

在config中index.js文件中配置proxyTable 进行跨域

api访问接口的时候路径前面加上前缀

猜你喜欢

转载自blog.csdn.net/WwangXue/article/details/82869011