代理后端服务器地址不生效
Niannian512 opened this issue · comments
Nina commented
Question (问题描述)
在vue.config.js中配置proxy不生效,同一局域网下,本地请求后端服务器接口404,控制台报错跨域
Describe the solution you'd like (你期待的是什么?)
明确的解决方式
Additional context(附加信息)
确认接口是通的,get接口在浏览器能正常打开得到返回值
👨🏻💻👩🏻💻 Use Ant Design Vue like a Pro! (vue2)
Niannian512 opened this issue · comments
Question (问题描述)
在vue.config.js中配置proxy不生效,同一局域网下,本地请求后端服务器接口404,控制台报错跨域
Describe the solution you'd like (你期待的是什么?)
明确的解决方式
Additional context(附加信息)
确认接口是通的,get接口在浏览器能正常打开得到返回值