猿问

XMLHttpRequest cannot load http://code.imooc.com/course/runcode. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.imooc.com' is therefore not allowed access.

我这儿不能显示运行结果 F12看到了这个  XMLHttpRequest cannot load http://code.imooc.com/course/runcode. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.imooc.com' is therefore not allowed access.


请问该怎么解决?

Tuking
浏览 2895回答 3
3回答

月蚀

我也是这问题 要启动http服务么,怎么启动呢???

SoAanYip

是跨域了吗

Tuking

没人么。。。
随时随地看视频慕课网APP
我要回答