proxy4js proxy 在文件夹中的URL.js文件 修改link的值为需要跨域的链接(A) npm install npm start 启动中间件服务 本机调用A接口的地方改为http://本机IP:8021接口就可以了