会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ming
博客园
首页
新随笔
联系
订阅
管理
2019年9月10日
SSM处理 No 'Access-Control-Allow-Origin' header is present on the requested resource 问题
摘要: 在开发中,前端同事调用后端同事写好的接口,在地址中是有效的,但在项目的ajax中,浏览器会报 "No 'Access-Control-Allow-Origin' header is present on the requested resource"的错误。 这是由于浏览器禁止ajax请求本地以外的
阅读全文
posted @ 2019-09-10 10:46 mingruqi
阅读(1610)
评论(0)
推荐(0)
编辑
公告