<map id="myMap" style="width: 100%; height: 100vh;" latitude="{{latitude}}" longitude="{{longitude}}" markers="{{markers}}" show-location></map> 总结: 主要就是设置样式里面的高度为100vh,宽度设置为100%就可以了。平时用的100px或者100%都不行。