地图高度设置为百分数时,不展示;设置为具体的px值时展示 1、给包裹地图的 父div 设置 height:100%;width:100%;position: absolute;(重点设置position为absolute) 2、设置地图的height为具体的百分比,如:height:80%;