js 跨域访问

错误log :

 XMLHttpRequest cannot load http://192.168.17.131:8080/wm/topology/links/json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1' is therefore not allowed access. 
 
最简单的解决办法是:
在chrome中添加插件:
 
 
posted @ 2015-05-28 16:46  smile_tina  阅读(227)  评论(0编辑  收藏  举报