原文网址:https://www.youyong.top/article/1158e761ee12f
XMLHttpRequest跨域请求出错:
XMLHttpRequest cannot load http://test.com . 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'. Origin http://testdev.com is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.