摘要: 在config/index.js找到 proxyTable对象,添加键值对即可。 "/api":{ target:"http://192.168.1.1", changeOrighn:true, pathRewrite:{ "^/api":" " } } 倘若加上了这对键值对,意思就是以后的请求路径 阅读全文
posted @ 2018-03-28 16:54 YouForMe 阅读(249) 评论(0) 推荐(0) 编辑