1.在根目录下创建一个proxy.config.json文件
proxy.config.json
angular的跨域
原文:https://www.cnblogs.com/violinh/p/12179813.html