前端跨域解决方案有哪些
方案:1、jsonp;2、“document.domain”和iframe;3、“location.hash”和iframe;4、“window.name”和iframe;5、postMessage;6、CORS;7、nginx代理等...
方案:1、jsonp;2、“document.domain”和iframe;3、“location.hash”和iframe;4、“window.name”和iframe;5、postMessage;6、CORS;7、nginx代理等...