服务器成功返回,但是报异常
报错信息中存在CORS关键字,考虑为跨域问题
在返回的响应头中加入以下信息
Access-Control-Allow-Origin: http://192.168.1.102
Access-Control-Allow-Credentials: true
Content-Type: text/html; charset=utf-8
CORS跨域问题:No 'Access-Control-Allow-Origin' header is present on the requested resource.
原文:https://www.cnblogs.com/xu0428/p/13219906.html