问题:The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
原代码:
改进后代码:
问题解决!
Cros跨域解决方案
最新推荐文章于 2024-07-06 09:00:00 发布