我的WordPress网站中Iframe的跨域原因问题

时间:2017-08-10 11:21:29

标签: javascript php wordpress iframe cross-domain

我已在我的WordPress网站中集成了第三方API。在使用该API时,在我的页面中加载了一个框架。与此同时,我的控制台出现了以下JavaScript错误,

##Failed to execute 'post Message' on ' Document Object Model Window  ': The target origin provided ('://xxx.com') does not match the recipient window's origin ('://xxx.com').##  

之后我无法执行下一个JavaScript函数。

如何解决该错误?

请给我解决方案。

0 个答案:

没有答案
相关问题