今天写跨域请求的时候碰到了这个问题,
跨域问题:Cross origin requests are only supported for protocol schemes: http...
原因是请求的域名不是以http等等开头的,加上http://就能正常使用了

相关文章: