Access to XMLHttpRequest at ' http://139.196.232.39:9000/login.jsp ' (redirected from ' http://localhost:9528/data/table_list?page=0&size=10&searchText= ') from origin ' http://localhost:9528 ' has been blocked by CORS policy: 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. 您好请问您一下,项目以上的错误,是不是我代理出现了问题呢,页面如果间隔一段时间不操作,刷新页面就会一直报错,请问时代理出现而导致的问题吗,烦请给点提示呢。 谢谢!
3条答案
按热度按时间vuv7lop31#
请问原来在vue.config.js内的proxy设置是移除了还是变换位置了?我没找到。
移除了,自己配置就好
rnmwe5a22#
Access to XMLHttpRequest at ' http://139.196.232.39:9000/login.jsp ' (redirected from ' http://localhost:9528/data/table_list?page=0&size=10&searchText= ') from origin ' http://localhost:9528 ' has been blocked by CORS policy: 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.
您好请问您一下,项目以上的错误,是不是我代理出现了问题呢,页面如果间隔一段时间不操作,刷新页面就会一直报错,请问时代理出现而导致的问题吗,烦请给点提示呢。 谢谢!
sr4lhrrt3#
老铁这个解决啦吗???