解决方式:设置样式隐藏图片 <style type="text/css"> .olImageLoadError { /*ol2.12 onImageLoadError no longer exists, replace */ display: none !important; } </style>