解決「No 'Access-Control-Allow-Origin' header is present on the requested resource」

1. 問題描述 在js中使用ajax請求在網頁控制檯下打印如下錯誤信息:javascript XMLHttpRequest cannot load http://192.168.2.46:8000/account/getjson/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origi
相關文章
相關標籤/搜索