blade-system/tenant/info报错

Blade 未结 2 194
zhoushr
zhoushr 2024-08-24 17:06

SpringBoot 3.2.7 ,

登陆就失败,请

login:1 Access to XMLHttpRequest at 'http://127.0.0.1:8683/blade-system/tenant/info?domain=http:%2F%2Flocalhost:2888%2Flogin' from origin 'http://localhost:2888' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: 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.


image.png

2条回答
  •  zhoushr
    zhoushr (楼主)
    2024-08-25 21:48

    还是报错


    Access to XMLHttpRequest at 'http://127.0.0.1:8683/blade-auth/captcha' from origin 'http://127.0.0.1:2888' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: 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.



提交回复