跨域问题:Cross origin requests are only supported for protocol schemes: http...

跨域:Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.

今天写跨域请求的时候碰到了这个问题,
在这里插入图片描述
原因是请求的域名不是以http等等开头的,加上http://就能正常使用了

posted @ 2020-01-13 16:48  jirath  阅读(2402)  评论(0编辑  收藏  举报