报错包含:: 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.

解决办法:
axios.defaults.withCredentials = false;
(把 ture改为false 即可)


Tong_sunshine
62 声望10 粉丝

看看看! 再看把你眼珠子抠掉!


引用和评论

0 条评论