vue cli axios封裝

在根目錄新建vue.config.js module.exports={ devServer:{ open:true, proxy: { '/member': { target: "https://www.xxxx.com",//設置你調用的接口域名和端口號 別忘了加http changeOrigin: true, }, }
相關文章
相關標籤/搜索