[利用window.postMessage()实现跨域消息传递(JavaScript)] 功能描述:打开新窗口,关闭新窗口返回上一窗口同时触发上一窗口的函数 image.png 记得window.removeEventListener('message', function (){});