用的miniui,在打开新窗口中调用该组建时,使用官方文档不起效
(function(){
var iframe = document.getElementById('test').contentWindow;
document.getElementById('test').onload = function(){
iframe.postMessage('hello','https://m.amap.com/picker/');
};
window.addEventListener("message", function(e){
alert('您选择了:' &