前端跨域问题的解决方案Access to XMLHttpRequest at ‘http..’ from origin ‘null‘ has been blocked by CORS policy
Posted on 2023-08-04 09:44 kali98k 阅读(238) 评论(0) 编辑 收藏 举报如果是html页面 head 加
<meta http-equiv="Access-Control-Allow-Origin" content="*" />
前端跨域问题的解决方案Access to XMLHttpRequest at ‘http..’ from origin ‘null‘ has been blocked by CORS policyPosted on 2023-08-04 09:44 kali98k 阅读(238) 评论(0) 编辑 收藏 举报如果是html页面 head 加 <meta http-equiv="Access-Control-Allow-Origin" content="*" />
|
||