vue cli axios封装

在根目录新建vue.config.js module.exports={ devServer:{ open:true, proxy: { '/member': { target: "https://www.xxxx.com",//设置你调用的接口域名和端口号 别忘了加http changeOrigin: true, }, }
相关文章
相关标签/搜索