React配置代理跨域访问 React版本:10.2 例如后端接口地址为:http://localhost:4000/manager/register 那么前端react配置如下: const { createProxyMiddleware } = requir....