使用postMessage发送跨域消息,window.postMessage('hellothere!',location.protocol+'//a.b.com');但是报了下面的错误:Failedtoexecute'postMessage'on'DOMWindow':Thetargetoriginprovided('http://a.b.com')doesnotmatchtherecipientwindow'sorigin('http://c.e.com')请问是什么原因?
慕尼黑的夜晚无繁华
凤凰求蛊
随时随地看视频慕课网APP
相关分类