bug:在后端服务器网关已经配置了允许跨域访问并且也删除了人人后台模块里面自带的跨域配置类的情况下(保证全局只有一个跨域配置),在访问人人后台登录页面时仍然会报错:Access to XMLHttpRequest at 'http://localhost:8000/api/renren-fast/sys/menu/nav?t=1659409509905' from origin 'http://localhost:9000' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:9000, http://localhost:9000', but only one is allowed.
人人后台登录界面控制台跨域错误:XMLHttpRequest at ‘http://localhost:8000/api/renren-fast/sys/menu/nav?t=1659409509
最新推荐文章于 2024-04-09 12:47:45 发布