在markers.addEventListener("click", function(){ map.openInfoWindow(infoWindow,points[i]);}的底下再加一句map.openInfoWindow(infoWindow,points[i]);让其默认显示