错误提示:Blocked a frame with origin "null" from accessing a cross-origin frame.
由于iframe导致跨域:
1、地址为file:///开头的
2、请求页面为http://开头
解决办法:放在环境中运行,推荐tomcat或者wampp环境部署。
错误提示:Blocked a frame with origin "null" from accessing a cross-origin frame.
由于iframe导致跨域:
1、地址为file:///开头的
2、请求页面为http://开头
解决办法:放在环境中运行,推荐tomcat或者wampp环境部署。