1. 新建一个 proxy.conf.json
2. 在 package.json 中
angular 中配置跨域
原文:https://www.cnblogs.com/monkey-K/p/11621837.html