jsonp
代理
cors (后端配置)
优缺点:
get
其他的:
(2)通过修改document.domain来跨子域
(3)使用window.name来进行跨域
(4)使用HTML5中新引进的window.postMessage方法来跨域传送数据
jsonp
代理
cors (后端配置)
优缺点:
get
其他的:
(2)通过修改document.domain来跨子域
(3)使用window.name来进行跨域
(4)使用HTML5中新引进的window.postMessage方法来跨域传送数据
上一篇:[ES6] 运动函数
下一篇:[react] 组件的生命周期
跨域请求~
什么是跨域 跨域指浏览器不允许当前页面的所在的源去请求另一个源的数据。源
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M