跨域问题@CrossOrigin
来源:12-14 用户模型管理--getotp页面美化
_佚名_
2020-10-12
加了注解@CrossOrigin,还是会报如下所示的跨域问题:
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.
写回答
1回答
-
龙虾三少
2020-10-13
前端的代码xhrfield改了吗
00
相似问题
跨域请求问题
回答 2
2-3register环节
回答 1