背景: NODE 做的后台 环境:在非 Chrome 下都能正常运行提交数据,只有 chrome 不行 警告语句: XMLHttpRequest cannot load http://XXX.com/login. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.XXX.com' is therefore not allowed access.
请教一下这是怎么回事?
1
lijinma 2016 年 3 月 29 日
为什么说 xxx.com 和 www.xxx.com 是同域名?
|
2
Infernalzero 2016 年 3 月 29 日
|
3
wobuhuicode OP @lijinma soga~看漏眼了
|
4
wobuhuicode OP |
5
wobuhuicode OP |
6
Lxxyx 2016 年 3 月 30 日
@wobuhuicode 可以把原因 po 出来吗?
|