proxyTable: {
'/api': {
target: 'http://47.105.206.10:8085', // 请求的接口的域名
// secure: false, // 如果是https接口,需要配置这个参数
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
pathRewrite: {
'^/api': ''
}
}
},
vue 本地代理
最新推荐文章于 2024-05-14 10:42:24 发布