ant-design-pro跨域問題

當ant-design-pro設置遠程調後端服務,例如spring boot提供的http服務,會存在跨域問題,包如下錯誤: 已攔截跨源請求:同源策略禁止讀取位於 http://localhost:8080/demo-app/api/login/account 的遠程資源。(原因:CORS 頭缺少 'Access-Control-Allow-Origin') springboot配置解決 pack
相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息