arcgis(Access-Control-Allow-Origin)

Access to Font at 'http://192.168.0.148:3000/arcgis_js_api/library/4.7/esri/themes/base/icons/fonts/CalciteWebCoreIcons.woff?cu4poq' from origin 'http://localhost:8008' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8008' is therefore not allowed access.

實際是一個跨域問題 


解決這個問題 在iis裏面找到 “http響應標頭”添加 名稱:Access-Control-Allow-Origin 值:*



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章