摘要: 1.在根目录下创建一个proxy.config.json文件 proxy.config.json { "/api":{ "target":"http://192.168.1.116:3000/mock/41",//你所要跨域的地址 "secure":false,//是否开启跨域保护 https的时候 阅读全文
posted @ 2020-01-11 14:25 violinh 阅读(257) 评论(0) 推荐(0) 编辑