又遇到错误,接二连三,有完没完
Access to XMLHttpRequest at 'http://localhost:8090/elder' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
请求发不过去,从8080发到8090,原来是因为跨域的问题,
没有把一个跨域的类复制过来
以前总是只看不做,现在跟着视频做了一遍,觉得应该能流畅一点了,
结果依然是错误一个接一个,
果然,什么都是要多练,
毕竟熟能生巧嘛
标签:总结,http,跨域,十二周,Access,8080,localhost From: https://www.cnblogs.com/SHINIAN200/p/16913289.html